Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / middleware / class_BaseMiddleware.php
index 472aa8b..79e1d0c 100644 (file)
@@ -25,11 +25,12 @@ class BaseMiddleware extends BaseFrameworkSystem {
        /**
         * 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();