]> git.mxchange.org Git - core.git/blobdiff - application/tests/class_ApplicationHelper.php
Continued:
[core.git] / application / tests / class_ApplicationHelper.php
index fe75153b13be5c142a2b4f43628cba1b539536cf..7559e433f17485a725f8c83316cc482c45c24d93 100644 (file)
@@ -34,7 +34,7 @@ use Org\Mxchange\CoreFramework\Template\CompileableTemplate;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2019 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
@@ -110,9 +110,9 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
         * @param       $appVersion     The application's version number
         * @return      void
         */
-       public final function setAppVersion ($appVersion) {
+       public final function setAppVersion (string $appVersion) {
                // Cast and set it
-               $this->appVersion = (string) $appVersion;
+               $this->appVersion = $appVersion;
        }
 
        /**
@@ -130,9 +130,9 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
         * @param       $appName        The application's human-readable name
         * @return      void
         */
-       public final function setAppName ($appName) {
+       public final function setAppName (string $appName) {
                // Cast and set it
-               $this->appName = (string) $appName;;
+               $this->appName = $appName;;
        }
 
        /**
@@ -150,7 +150,7 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
         * @param       $shortName      The application's short uni*-like name
         * @return      void
         */
-       public final function setAppShortName ($shortName) {
+       public final function setAppShortName (string $shortName) {
                // Cast and set it
                $this->shortName = (string) $shortName;
        }