Completed
Pull Request — master (#8)
by
unknown
03:42
created
src/Laravel/CacheItem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Providers/IlluminatePsrCacheServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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
         });
Please login to merge, or discard this patch.