mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-24 21:05:03 +02:00
Fixed inspection issues.
This commit is contained in:
parent
0fe83c7b3a
commit
eb9b24d5d7
20 changed files with 33 additions and 49 deletions
|
@ -43,7 +43,6 @@ declare(strict_types=1);
|
|||
namespace App\Tests\Entity\UserSystem;
|
||||
|
||||
use App\Entity\UserSystem\PermissionsEmbed;
|
||||
use Doctrine\ORM\Mapping\Embedded;
|
||||
use InvalidArgumentException;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use ReflectionClass;
|
||||
|
@ -137,7 +136,7 @@ class PermissionsEmbedTest extends TestCase
|
|||
$embed->getPermissionValue('parts', 1);
|
||||
}
|
||||
|
||||
public function getStatesBINARY()
|
||||
public function getStatesBINARY(): array
|
||||
{
|
||||
return [
|
||||
'ALLOW' => [PermissionsEmbed::ALLOW],
|
||||
|
@ -147,7 +146,7 @@ class PermissionsEmbedTest extends TestCase
|
|||
];
|
||||
}
|
||||
|
||||
public function getStatesBOOL()
|
||||
public function getStatesBOOL(): array
|
||||
{
|
||||
return [
|
||||
'ALLOW' => [true],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue