mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
PermissionAttachmentInfo::__construct() never throws an exception
This commit is contained in:
@@ -36,9 +36,6 @@ class PermissionAttachmentInfo{
|
|||||||
/** @var bool */
|
/** @var bool */
|
||||||
private $value;
|
private $value;
|
||||||
|
|
||||||
/**
|
|
||||||
* @throws \InvalidStateException
|
|
||||||
*/
|
|
||||||
public function __construct(Permissible $permissible, string $permission, PermissionAttachment $attachment = null, bool $value){
|
public function __construct(Permissible $permissible, string $permission, PermissionAttachment $attachment = null, bool $value){
|
||||||
$this->permissible = $permissible;
|
$this->permissible = $permissible;
|
||||||
$this->permission = $permission;
|
$this->permission = $permission;
|
||||||
|
Reference in New Issue
Block a user