mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-10 09:13:11 +08:00
Updated to coding-standard library v1.2.2
This commit is contained in:
@@ -19,7 +19,7 @@ class ApiKeyFixture implements FixtureInterface
|
||||
$manager->flush();
|
||||
}
|
||||
|
||||
private function buildApiKey(string $key, bool $enabled, Chronos $expiresAt = null): ApiKey
|
||||
private function buildApiKey(string $key, bool $enabled, ?Chronos $expiresAt = null): ApiKey
|
||||
{
|
||||
$apiKey = new ApiKey($expiresAt);
|
||||
$refObj = new ReflectionObject($apiKey);
|
||||
|
||||
Reference in New Issue
Block a user