Continued:
[core.git] / framework / main / classes / class_FrameworkArrayObject.php
index a75c861accd0b614940c42f0ff1b262368217595..d1860fc272858dfadd7138d3d36c12b456380489 100644 (file)
@@ -12,7 +12,7 @@ use \ArrayObject;
  *
  * @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 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -40,8 +40,8 @@ class FrameworkArrayObject extends ArrayObject {
         *
         * @param       $className      Real class name
         */
-       public function __construct ($className) {
-               $this->realClass = (string) $className;
+       public function __construct (string $className) {
+               $this->realClass = $className;
        }
 
        /**