Completed
Push — master ( 7e748b...ca1854 )
by Karsten
02:03
created
src/Slumber/Annotation/Slumber/AsCollection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,9 +70,9 @@  discard block
 block discarded – undo
70 70
 
71 71
     public function validateCollectionParam(ValidationContext $context)
72 72
     {
73
-        if (! empty ($this->collection)) {
73
+        if (!empty ($this->collection)) {
74 74
 
75
-            if (! class_exists($this->collection)) {
75
+            if (!class_exists($this->collection)) {
76 76
                 throw $this->createValidationException(
77 77
                     $context,
78 78
                     "The collection class '{$this->collection}' does not exist'"
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
             $expectedType = Collection::class;
83 83
 
84
-            if (! is_a($this->collection, $expectedType, true)) {
84
+            if (!is_a($this->collection, $expectedType, true)) {
85 85
                 throw $this->createValidationException(
86 86
                     $context,
87 87
                     "The collection class '{$this->collection}' must be instance of '{$expectedType}'"
Please login to merge, or discard this patch.