]> git.mxchange.org Git - core.git/blobdiff - application/tests/class_ApplicationHelper.php
Continued:
[core.git] / application / tests / class_ApplicationHelper.php
index 8eab367f3f7fa74d1d4578682733ef109bd7b0bb..7559e433f17485a725f8c83316cc482c45c24d93 100644 (file)
@@ -110,9 +110,9 @@ class ApplicationHelper extends BaseApplication implements ManageableApplication
         * @param       $appVersion     The application's version number
         * @return      void
         */
         * @param       $appVersion     The application's version number
         * @return      void
         */
-       public final function setAppVersion ($appVersion) {
+       public final function setAppVersion (string $appVersion) {
                // Cast and set it
                // 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
         */
         * @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
                // 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
         */
         * @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;
        }
                // Cast and set it
                $this->shortName = (string) $shortName;
        }