Skip to content

Commit

Permalink
shlinkio#891 Fixed wrong return type hint on method inside migration …
Browse files Browse the repository at this point in the history
…when using postgres
  • Loading branch information
acelaya committed Nov 10, 2020
1 parent 29bb201 commit ce1c70f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data/migrations/Version20201102113208.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ public function postUp(Schema $schema): void
->execute();
}

private function resolveOneApiKeyId(Result $result): ?string
/**
* @return string|int|null
*/
private function resolveOneApiKeyId(Result $result)
{
$results = [];
while ($row = $result->fetchAssociative()) {
Expand Down

0 comments on commit ce1c70f

Please sign in to comment.