Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / main / controller / class_BaseController.php
index b2951f51e75fa7395297d14bff2963b5ea02c8d3..1686f42f7c23238c475019c33017ad2df808915b 100644 (file)
@@ -37,11 +37,12 @@ class BaseController extends BaseFrameworkSystem implements Registerable {
        /**
         * Protected constructor
         *
+        * @param       $className      Name of the class
         * @return      void
         */
-       protected function __construct ($class) {
+       protected function __construct ($className) {
                // Call parent constructor
-               parent::__construct($class);
+               parent::__construct($className);
 
                // Clean up a little
                $this->removeNumberFormaters();