]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/user/class_Guest.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / main / user / class_Guest.php
index c5ea22584dd33ca7640c3acd13b4d7dc003d1348..d07317a4b1b3809f361a904b70d78decf5862aeb 100644 (file)
@@ -45,14 +45,15 @@ class Guest extends BaseFrameworkSystem implements ManageableUser, Registerable
        /**
         * Protected constructor
         *
        /**
         * Protected constructor
         *
+        * @param       $className      Name of the class
         * @return      void
         */
         * @return      void
         */
-       protected function __construct ($class = "") {
+       protected function __construct ($className = "") {
                // Is the class name empty? Then this is not a specialized user class
                // Is the class name empty? Then this is not a specialized user class
-               if (empty($class)) $class = __CLASS__;
+               if (empty($className)) $className = __CLASS__;
 
                // Call parent constructor
 
                // Call parent constructor
-               parent::__construct($class);
+               parent::__construct($className);
 
                // Set part description
                $this->setObjectDescription("Generic user class");
 
                // Set part description
                $this->setObjectDescription("Generic user class");