Test Setup Failed
Push — master ( 2fd2ec...8973f3 )
by Vitalijs
01:11
created
src/DTOBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
             return $scope[$key];
103 103
         }
104 104
 
105
-        throw new InvalidArgumentException('Non existent offset given in offset chain: ' . $key);
105
+        throw new InvalidArgumentException('Non existent offset given in offset chain: '.$key);
106 106
     }
107 107
 
108 108
     /**
Please login to merge, or discard this patch.
src/DTOAccessorTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
         }
110 110
 
111 111
         if ($strict) {
112
-            throw new InvalidArgumentException('Offset ' . $offset . ' does not exist.');
112
+            throw new InvalidArgumentException('Offset '.$offset.' does not exist.');
113 113
         }
114 114
 
115 115
         return null;
Please login to merge, or discard this patch.
src/DTOBaseBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
                 $this->buildFromJson($data);
33 33
                 break;
34 34
             default:
35
-                throw new InvalidArgumentException('DTO can be built from array|object|json, "' . gettype($data) . '" given.');
35
+                throw new InvalidArgumentException('DTO can be built from array|object|json, "'.gettype($data).'" given.');
36 36
         }
37 37
     }
38 38
 
Please login to merge, or discard this patch.