mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 02:38:50 +02:00
Fixed some inspection issues.
This commit is contained in:
parent
6caf605fe2
commit
e01b06fb85
80 changed files with 173 additions and 218 deletions
|
@ -68,7 +68,7 @@ class RedirectControllerTest extends WebTestCase
|
|||
$this->userRepo = $this->em->getRepository(User::class);
|
||||
}
|
||||
|
||||
public function urlMatchDataProvider()
|
||||
public function urlMatchDataProvider(): array
|
||||
{
|
||||
return [
|
||||
['/', true],
|
||||
|
@ -99,7 +99,7 @@ class RedirectControllerTest extends WebTestCase
|
|||
$this->assertSame($expect_redirect, $response->isRedirect());
|
||||
}
|
||||
|
||||
public function urlAddLocaleDataProvider()
|
||||
public function urlAddLocaleDataProvider(): array
|
||||
{
|
||||
return [
|
||||
//User locale, original target, redirect target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue