mirror of
https://github.com/shlinkio/shlink.git
synced 2026-11-02 20:30:15 -06:00
Added rest of tests to phpstan check
This commit is contained in:
1 parent
f459a99e7e
commit
01e0a95e14
4 files changed
+5
-5
No files matched your search
@@ -62,13 +62,13 @@ class EditShortUrlTest extends ApiTestCase
|
||||
]];
|
||||
}
|
||||
|
||||
private function findShortUrlMetaByShortCode(string $shortCode): ?array
|
||||
private function findShortUrlMetaByShortCode(string $shortCode): array
|
||||
{
|
||||
$matchingShortUrl = $this->getJsonResponsePayload(
|
||||
$this->callApiWithKey(self::METHOD_GET, '/short-urls/' . $shortCode),
|
||||
);
|
||||
|
||||
return $matchingShortUrl['meta'] ?? null;
|
||||
return $matchingShortUrl['meta'] ?? [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user