Added rest of tests to phpstan check

This commit is contained in:
Alejandro Celaya
2022-10-24 20:25:06 +02:00
parent f459a99e7e
commit 01e0a95e14
4 changed files with 5 additions and 5 deletions

View File

@@ -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'] ?? [];
}
/**