]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/states/class_BaseState.php
Continued:
[core.git] / framework / main / classes / states / class_BaseState.php
index 820f31c385e2d6018512b91c1ac258935cf7388f..86e9a7ff04642e0f9004f6ce4efc033a9c32069c 100644 (file)
@@ -13,7 +13,7 @@ use Org\Mxchange\CoreFramework\State\Stateable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -46,7 +46,7 @@ abstract class BaseState extends BaseFrameworkSystem implements Stateable {
         * @param       $className      Name of the class
         * @return      void
         */
-       protected function __construct ($className) {
+       protected function __construct (string $className) {
                // Call parent constructor
                parent::__construct($className);
        }
@@ -66,7 +66,7 @@ abstract class BaseState extends BaseFrameworkSystem implements Stateable {
         * @param       $stateName      Name of this state in a printable maner
         * @return      void
         */
-       protected final function setStateName ($stateName) {
+       protected final function setStateName (string $stateName) {
                $this->stateName = $stateName;
        }