mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 10:18:56 +02:00
Fixed inspection issues.
This commit is contained in:
parent
0fe83c7b3a
commit
eb9b24d5d7
20 changed files with 33 additions and 49 deletions
|
@ -54,7 +54,7 @@ abstract class AbstractAdminControllerTest extends WebTestCase
|
|||
protected static $base_path = 'not_valid';
|
||||
protected static $entity_class = 'not valid';
|
||||
|
||||
public function readDataProvider()
|
||||
public function readDataProvider(): array
|
||||
{
|
||||
return [
|
||||
['noread', false],
|
||||
|
@ -118,7 +118,7 @@ abstract class AbstractAdminControllerTest extends WebTestCase
|
|||
$this->assertSame($read, ! $client->getResponse()->isForbidden(), 'Permission Checking not working!');
|
||||
}
|
||||
|
||||
public function deleteDataProvider()
|
||||
public function deleteDataProvider(): array
|
||||
{
|
||||
return [
|
||||
['noread', false],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue