Making code PSR2 compliant
This commit is contained in:
@@ -34,7 +34,10 @@ class EmployeesAdminManager extends AbstractModuleManager
|
||||
|
||||
public function initializeDatabaseErrorMappings()
|
||||
{
|
||||
$this->addDatabaseErrorMapping('CONSTRAINT `Fk_User_Employee` FOREIGN KEY', "Can not delete Employee, please delete the User for this employee first.");
|
||||
$this->addDatabaseErrorMapping(
|
||||
'CONSTRAINT `Fk_User_Employee` FOREIGN KEY',
|
||||
"Can not delete Employee, please delete the User for this employee first."
|
||||
);
|
||||
$this->addDatabaseErrorMapping("Duplicate entry|for key 'employee'", "A duplicate entry found");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user