Update and delete multi timesheets and tags (#1240)

This commit is contained in:
Kevin Papst
2019-11-15 01:25:31 +01:00
committed by GitHub
parent b4739f8f03
commit 94c28ebbc5
49 changed files with 1836 additions and 307 deletions

View File

@@ -28,23 +28,14 @@ class UserQuery extends VisibilityQuery
]);
}
/**
* @return string|null
*/
public function getRole()
public function getRole(): ?string
{
return $this->role;
}
/**
* @param string|null $role
* @return UserQuery
*/
public function setRole($role)
public function setRole(?string $role): UserQuery
{
if (null === $role || false !== strpos($role, 'ROLE_')) {
$this->role = $role;
}
$this->role = $role;
return $this;
}