forked from mirror/Part-DB.Part-DB-server
Fixed inspection issues.
This commit is contained in:
parent
0fe83c7b3a
commit
eb9b24d5d7
20 changed files with 33 additions and 49 deletions
|
@ -95,7 +95,7 @@ class AttachmentPathResolverTest extends WebTestCase
|
|||
$this->assertNull(self::$service->parameterToAbsolutePath('/./this/one/too'));
|
||||
}
|
||||
|
||||
public function placeholderDataProvider()
|
||||
public function placeholderDataProvider(): array
|
||||
{
|
||||
return [
|
||||
['%FOOTPRINTS%/test/test.jpg', self::$footprint_path.'/test/test.jpg'],
|
||||
|
@ -117,7 +117,7 @@ class AttachmentPathResolverTest extends WebTestCase
|
|||
];
|
||||
}
|
||||
|
||||
public function realPathDataProvider()
|
||||
public function realPathDataProvider(): array
|
||||
{
|
||||
return [
|
||||
[self::$media_path.'/test/img.jpg', '%MEDIA%/test/img.jpg'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue