]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/personell/company/class_CompanyEmployee.php
'final' added to factory methods
[shipsimu.git] / application / ship-simu / main / personell / company / class_CompanyEmployee.php
index 970017b0cee96d60f7cfaa9653441ee7c4a648b3..ae73132da98c3da3cd41ed5b5c820c4d90291f0d 100644 (file)
@@ -49,7 +49,7 @@ class CompanyEmployee extends SimulatorPersonell {
        }
 
        // Generate a specified amount of personell
-       public static function createCompanyEmployee ($surname, $family, $gender, $year, $month, $day, $married, $salary) {
+       public final static function createCompanyEmployee ($surname, $family, $gender, $year, $month, $day, $married, $salary) {
                // Get instance
                $personellInstance = new CompanyEmployee();