Passed
Push — master ( 417126...63346e )
by Константин
05:57 queued 04:21
created
src/Enum.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      */
193 193
     final public static function all(array $ids = [], bool $reverse = false): array
194 194
     {
195
-        $ids = array_map(static function ($id) {
195
+        $ids = array_map(static function($id) {
196 196
             return $id instanceof Enum ? $id->getId() : (int) $id;
197 197
         }, $ids);
198 198
 
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
             $ids = $reverse ? array_diff($all, $ids) : $ids;
205 205
         }
206 206
 
207
-        return array_map(static function (int $id) {
207
+        return array_map(static function(int $id) {
208 208
             return static::create($id);
209 209
         }, $ids);
210 210
     }
Please login to merge, or discard this patch.