mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Added some missing typehints
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user