Passed
Push — develop ( 95afae...cabd10 )
by nguereza
02:12
created
src/Cache/FileCache.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -87,8 +87,8 @@  discard block
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-    * {@inheritdoc}
91
-    */
90
+     * {@inheritdoc}
91
+     */
92 92
     public function read(string $key, bool $unserialize = true): mixed
93 93
     {
94 94
         if ($this->exists($key) === false) {
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-    * {@inheritdoc}
109
-    */
108
+     * {@inheritdoc}
109
+     */
110 110
     public function exists(string $key): bool
111 111
     {
112 112
         $file = $this->getFilePath($key);
@@ -119,8 +119,8 @@  discard block
 block discarded – undo
119 119
     }
120 120
 
121 121
     /**
122
-    * {@inheritdoc}
123
-    */
122
+     * {@inheritdoc}
123
+     */
124 124
     public function write(string $key, mixed $value, bool $serialize = true): bool
125 125
     {
126 126
         $file = $this->getFilePath($key);
@@ -137,8 +137,8 @@  discard block
 block discarded – undo
137 137
 
138 138
 
139 139
     /**
140
-    * {@inheritdoc}
141
-    */
140
+     * {@inheritdoc}
141
+     */
142 142
     public function flush(bool $expired = false): bool
143 143
     {
144 144
         $list = glob(sprintf('%s%s*', $this->path, $this->prefix));
Please login to merge, or discard this patch.
src/Cache/NullCache.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -56,24 +56,24 @@  discard block
 block discarded – undo
56 56
 class NullCache extends AbstractCache
57 57
 {
58 58
     /**
59
-    * {@inheritdoc}
60
-    */
59
+     * {@inheritdoc}
60
+     */
61 61
     public function read(string $key, bool $unserialize = false): mixed
62 62
     {
63 63
         return false;
64 64
     }
65 65
 
66 66
     /**
67
-    * {@inheritdoc}
68
-    */
67
+     * {@inheritdoc}
68
+     */
69 69
     public function exists(string $key): bool
70 70
     {
71 71
         return false;
72 72
     }
73 73
 
74 74
     /**
75
-    * {@inheritdoc}
76
-    */
75
+     * {@inheritdoc}
76
+     */
77 77
     public function write(string $key, mixed $value, bool $serialize = false): bool
78 78
     {
79 79
         return true;
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
 
82 82
 
83 83
     /**
84
-    * {@inheritdoc}
85
-    */
84
+     * {@inheritdoc}
85
+     */
86 86
     public function flush(bool $expired = false): bool
87 87
     {
88 88
         return true;
Please login to merge, or discard this patch.