Skip to content

Commit a7c94ef

Browse files
author
Marcin Stodulski
committed
remove return value - allow to overwirte with own types
1 parent d134965 commit a7c94ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/entities/Role.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function setParent(?Role $parent): void
5353
$this->parent = $parent;
5454
}
5555

56-
public function getPermissions(): array
56+
public function getPermissions()
5757
{
5858
return $this->permissions;
5959
}

src/interfaces/RoleInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ interface RoleInterface
1414
{
1515
public function getParent(): ?RoleInterface;
1616
public function getCode(): string;
17-
public function getPermissions(): array;
17+
public function getPermissions();
1818
public function isHasAllPermissions(): bool;
1919
}

0 commit comments

Comments
 (0)