Passed
Push — develop ( 25c682...8aee5f )
by nguereza
15:32 queued 02:10
created
src/Cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
     /**
123 123
      * {@inheritdoc}
124 124
      */
125
-    public function set(string $key, mixed $value, int|DateInterval|null $ttl = null): bool
125
+    public function set(string $key, mixed $value, int | DateInterval | null $ttl = null): bool
126 126
     {
127 127
         $this->validateKey($key);
128 128
 
Please login to merge, or discard this patch.
src/Storage/NullStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
         return false;
75 75
     }
76 76
 
77
-    public function set(string $key, mixed $value, int|DateInterval|null $ttl = null): bool
77
+    public function set(string $key, mixed $value, int | DateInterval | null $ttl = null): bool
78 78
     {
79 79
         return false;
80 80
     }
Please login to merge, or discard this patch.
src/Storage/StorageInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      * @throws CacheException
82 82
      *   MUST be thrown if the $key string is not a legal value.
83 83
      */
84
-    public function set(string $key, mixed $value, int|DateInterval|null $ttl = null): bool;
84
+    public function set(string $key, mixed $value, int | DateInterval | null $ttl = null): bool;
85 85
 
86 86
     /**
87 87
      * Delete an item from the cache by its unique key.
Please login to merge, or discard this patch.
src/Storage/ApcuStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * {@inheritdoc}
89 89
      */
90
-    public function set(string $key, mixed $value, int|DateInterval|null $ttl = null): bool
90
+    public function set(string $key, mixed $value, int | DateInterval | null $ttl = null): bool
91 91
     {
92 92
         if ($ttl === null) {
93 93
             $ttl = $this->config->get('ttl');
Please login to merge, or discard this patch.
src/CacheInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      *
81 81
      * @throws CacheException MUST be thrown if the $key string is not a legal value.
82 82
      */
83
-    public function set(string $key, mixed $value, int|DateInterval|null $ttl = null): bool;
83
+    public function set(string $key, mixed $value, int | DateInterval | null $ttl = null): bool;
84 84
 
85 85
     /**
86 86
      * Delete an item from the cache by its unique key.
Please login to merge, or discard this patch.
src/Storage/LocalStorage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * {@inheritdoc}
89 89
      */
90
-    public function set(string $key, mixed $value, int|DateInterval|null $ttl = null): bool
90
+    public function set(string $key, mixed $value, int | DateInterval | null $ttl = null): bool
91 91
     {
92 92
         if ($ttl === null) {
93 93
             $ttl = $this->config->get('ttl');
Please login to merge, or discard this patch.