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