Completed
Pull Request — master (#16)
by Tom
01:11
created
src/Enum.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\Enum;
4 4
 
5
-use TypeError;
6
-use ReflectionClass;
7 5
 use JsonSerializable;
6
+use ReflectionClass;
8 7
 use ReflectionMethod;
8
+use TypeError;
9 9
 
10 10
 abstract class Enum implements JsonSerializable
11 11
 {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -187,6 +187,9 @@
 block discarded – undo
187 187
         return $enumValues;
188 188
     }
189 189
 
190
+    /**
191
+     * @return string
192
+     */
190 193
     protected function resolveValueFromStaticCall(): ?string
191 194
     {
192 195
         if (strpos(get_class($this), 'class@anonymous') === 0) {
Please login to merge, or discard this patch.