X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=application%2Fshipsimu%2Fclasses%2Fpersonell%2Fclass_SimulatorPersonell.php;fp=application%2Fshipsimu%2Fclasses%2Fpersonell%2Fclass_SimulatorPersonell.php;h=27b6202e812965af5020d0055698ee27a210de3c;hb=4dcdc446d626eaa5fcc7ac705067d9656a82c18e;hp=a0d0206a83787fcde0ed2295578c6c18cbd282ba;hpb=859058a3bb0ad1dedf262d18f39cd41646652446;p=shipsimu.git diff --git a/application/shipsimu/classes/personell/class_SimulatorPersonell.php b/application/shipsimu/classes/personell/class_SimulatorPersonell.php index a0d0206..27b6202 100644 --- a/application/shipsimu/classes/personell/class_SimulatorPersonell.php +++ b/application/shipsimu/classes/personell/class_SimulatorPersonell.php @@ -129,10 +129,10 @@ class SimulatorPersonell extends BasePersonell { if ($this->personelllList instanceof FrameworkArrayObject) { // Throw an exception throw new PersonellListAlreadyCreatedException($this, self::EXCEPTION_DIMENSION_ARRAY_INVALID); - } // END - if + } // Initialize the array - $this->personellList = new FrameworkArrayObject("FakedPersonellList"); + $this->personellList = new FrameworkArrayObject('FakedPersonellList'); } // Remove the personell list @@ -171,7 +171,7 @@ class SimulatorPersonell extends BasePersonell { * * @return $cacheList A list of cached personells */ - function getSpecialPersonellList ($isEmployed = null, $isMarried = null, $hasGender = "") { + function getSpecialPersonellList ($isEmployed = null, $isMarried = null, $hasGender = '') { // Serialize the conditions for checking if we can take the cache $serialized = serialize(array($isEmployed, $isMarried, $hasGender)); @@ -295,7 +295,7 @@ class SimulatorPersonell extends BasePersonell { // Set typical family name parent::setFamily("Smith"); - } // END - if + } // Return surname return $surname;