Completed
Push — master ( 2f3730...d2af2e )
by Константин
02:52
created
src/Enum.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-     * @param array $array
118
+     * @param integer[] $array
119 119
      *
120 120
      * @return bool
121 121
      */
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-     * @return array
166
+     * @return Enum[]
167 167
      */
168 168
     public function toArray()
169 169
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
             $ids = $reverse ? array_diff($all, $ids) : $ids;
110 110
         }
111 111
 
112
-        return array_map(function (int $id) {
112
+        return array_map(function(int $id) {
113 113
             return new static($id);
114 114
         }, $ids);
115 115
     }
Please login to merge, or discard this patch.