mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-15 16:05:28 +00:00
PermissionAttachmentInfo::__construct() never throws an exception
This commit is contained in:
parent
bac986d0b2
commit
48fa19fdcd
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user