@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | */ |
| 80 | 80 | public function expiresAt($expires) |
| 81 | 81 | { |
| 82 | - if ($expires instanceof DateTimeInterface && ! $expires instanceof DateTimeImmutable) { |
|
| 82 | + if ($expires instanceof DateTimeInterface && !$expires instanceof DateTimeImmutable) { |
|
| 83 | 83 | $timezone = $expires->getTimezone(); |
| 84 | 84 | $expires = DateTimeImmutable::createFromFormat('U', (string) $expires->getTimestamp(), $timezone); |
| 85 | 85 | $expires->setTimezone($timezone); |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | { |
| 98 | 98 | $this->expires = new DateTimeImmutable(); |
| 99 | 99 | |
| 100 | - if (! $time instanceof DateInterval) { |
|
| 100 | + if (!$time instanceof DateInterval) { |
|
| 101 | 101 | $time = new DateInterval(sprintf('PT%sS', $time)); |
| 102 | 102 | } |
| 103 | 103 | |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function register() |
| 16 | 16 | { |
| 17 | - $this->app->singleton(CacheItemPoolInterface::class, function () { |
|
| 17 | + $this->app->singleton(CacheItemPoolInterface::class, function() { |
|
| 18 | 18 | $repository = $this->app->make(Repository::class); |
| 19 | 19 | return new CacheItemPool($repository); |
| 20 | 20 | }); |