Added some missing typehints

This commit is contained in:
Dylan K. Taylor
2018-06-10 17:18:55 +01:00
parent 89643ff9af
commit c4c6c58615
19 changed files with 27 additions and 27 deletions

View File

@ -178,7 +178,7 @@ class Permission{
*
* @return Permission|null Permission if $name is a string, null if it's a Permission
*/
public function addParent($name, $value){
public function addParent($name, bool $value){
if($name instanceof Permission){
$name->getChildren()[$this->getName()] = $value;
$name->recalculatePermissibles();