mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Added migrations folder to the static analysis
This commit is contained in:
@@ -46,7 +46,9 @@ final class Version20201102113208 extends AbstractMigration
|
||||
'expiration' => Chronos::now()->toDateTimeString(),
|
||||
]);
|
||||
|
||||
$id = $this->resolveOneApiKeyId($qb->execute());
|
||||
/** @var Result $result */
|
||||
$result = $qb->execute();
|
||||
$id = $this->resolveOneApiKeyId($result);
|
||||
if ($id === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user