Completed
Pull Request — master (#12)
by
unknown
12:12
created
src/Rules/EnumRule.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace Nasyrov\Laravel\Enums\Rules;
4 4
 
5 5
 use Illuminate\Contracts\Validation\Rule;
6
+use InvalidArgumentException;
6 7
 use Nasyrov\Laravel\Enums\Enum;
7 8
 use ReflectionClass;
8
-use InvalidArgumentException;
9 9
 
10 10
 class EnumRule implements Rule
11 11
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     {
51 51
         $enumClassName = explode('\\', $this->enumClass);
52 52
 
53
-        return 'The :attribute it not a valid value for the ' . array_pop($enumClassName);
53
+        return 'The :attribute it not a valid value for the '.array_pop($enumClassName);
54 54
     }
55 55
 
56 56
     /**
Please login to merge, or discard this patch.