mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-01-26 18:58:41 +00:00
php cs fixer
This commit is contained in:
parent
14486d87fa
commit
fd447cb7a5
|
|
@ -49,7 +49,7 @@ class Employee
|
|||
|
||||
private $status = [];
|
||||
|
||||
public function setAccount(Account $account)
|
||||
public function setAccount(Account $account) : void
|
||||
{
|
||||
$this->account = $account;
|
||||
}
|
||||
|
|
@ -59,7 +59,7 @@ class Employee
|
|||
return $this->account;
|
||||
}
|
||||
|
||||
public function setActivity(bool $active)
|
||||
public function setActivity(bool $active) : void
|
||||
{
|
||||
$this->isActive = $active;
|
||||
}
|
||||
|
|
@ -69,7 +69,7 @@ class Employee
|
|||
return $this->isActive;
|
||||
}
|
||||
|
||||
public function setUnit($unit)
|
||||
public function setUnit($unit) : void
|
||||
{
|
||||
$this->unit = $unit;
|
||||
}
|
||||
|
|
@ -79,7 +79,7 @@ class Employee
|
|||
return $this->unit;
|
||||
}
|
||||
|
||||
public function setDepartment($department)
|
||||
public function setDepartment($department) : void
|
||||
{
|
||||
$this->department = $department;
|
||||
}
|
||||
|
|
@ -89,7 +89,7 @@ class Employee
|
|||
return $this->department;
|
||||
}
|
||||
|
||||
public function setPosition($position)
|
||||
public function setPosition($position) : void
|
||||
{
|
||||
$this->position = $position;
|
||||
}
|
||||
|
|
@ -109,7 +109,7 @@ class Employee
|
|||
return [];
|
||||
}
|
||||
|
||||
public function getNewestHistory()
|
||||
public function getNewestHistory() : void
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ final class EmployeeMapper extends DataMapperAbstract
|
|||
'hr_staff_active' => ['name' => 'hr_staff_active', 'type' => 'bool', 'internal' => 'isActive'],
|
||||
];
|
||||
|
||||
static protected $belongsTo = [
|
||||
protected static $belongsTo = [
|
||||
'account' => [
|
||||
'mapper' => AccountMapper::class,
|
||||
'src' => 'hr_staff_account',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user