@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | { |
108 | 108 | if (!is_int($autoUpdateProbability)) { |
109 | 109 | throw new InvalidArgumentException( |
110 | - "Invalid type '" . gettype($autoUpdateProbability) . "' for argument 'autoUpdateProbability'." |
|
110 | + "Invalid type '".gettype($autoUpdateProbability)."' for argument 'autoUpdateProbability'." |
|
111 | 111 | ); |
112 | 112 | } |
113 | 113 | |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | { |
129 | 129 | if (!is_string($userAgent) && $userAgent !== null) { |
130 | 130 | throw new InvalidArgumentException( |
131 | - "Invalid type '" . gettype($userAgent) . "' for argument 'userAgent'." |
|
131 | + "Invalid type '".gettype($userAgent)."' for argument 'userAgent'." |
|
132 | 132 | ); |
133 | 133 | } |
134 | 134 | |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | { |
178 | 178 | if (!is_bool($forceUpdate)) { |
179 | 179 | throw new InvalidArgumentException( |
180 | - "Invalid type '" . gettype($forceUpdate) . "' for argument 'forceUpdate'." |
|
180 | + "Invalid type '".gettype($forceUpdate)."' for argument 'forceUpdate'." |
|
181 | 181 | ); |
182 | 182 | } |
183 | 183 | |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | $reader = $parser->getReader(true); |
205 | 205 | if ($reader->isUpdateRequired() === true) { |
206 | 206 | throw new ParserRuntimeException( |
207 | - 'There is something wrong with the parser. The data have been re-generated without errors, ' . |
|
207 | + 'There is something wrong with the parser. The data have been re-generated without errors, '. |
|
208 | 208 | 'but the reader still requires an update of the data...' |
209 | 209 | ); |
210 | 210 | } |
@@ -228,12 +228,12 @@ discard block |
||
228 | 228 | { |
229 | 229 | if (!is_string($userAgent)) { |
230 | 230 | throw new InvalidArgumentException( |
231 | - "Invalid type '" . gettype($userAgent) . "' for argument 'userAgent'." |
|
231 | + "Invalid type '".gettype($userAgent)."' for argument 'userAgent'." |
|
232 | 232 | ); |
233 | 233 | } |
234 | 234 | if (!is_bool($returnArray)) { |
235 | 235 | throw new InvalidArgumentException( |
236 | - "Invalid type '" . gettype($returnArray) . "' for argument 'returnArray'." |
|
236 | + "Invalid type '".gettype($returnArray)."' for argument 'returnArray'." |
|
237 | 237 | ); |
238 | 238 | } |
239 | 239 |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | { |
28 | 28 | if (!is_int($type)) { |
29 | 29 | throw new InvalidArgumentException( |
30 | - "Invalid type '" . gettype($type) . "' for argument 'type'." |
|
30 | + "Invalid type '".gettype($type)."' for argument 'type'." |
|
31 | 31 | ); |
32 | 32 | } |
33 | 33 | |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | { |
45 | 45 | if (!is_int($type)) { |
46 | 46 | throw new InvalidArgumentException( |
47 | - "Invalid type '" . gettype($type) . "' for argument 'type'." |
|
47 | + "Invalid type '".gettype($type)."' for argument 'type'." |
|
48 | 48 | ); |
49 | 49 | } |
50 | 50 |
@@ -64,7 +64,7 @@ |
||
64 | 64 | { |
65 | 65 | if (!is_string($property)) { |
66 | 66 | throw new InvalidArgumentException( |
67 | - "Invalid type '" . gettype($property) . "' for argument 'property'." |
|
67 | + "Invalid type '".gettype($property)."' for argument 'property'." |
|
68 | 68 | ); |
69 | 69 | } |
70 | 70 |
@@ -64,7 +64,7 @@ |
||
64 | 64 | { |
65 | 65 | if (!is_string($property)) { |
66 | 66 | throw new InvalidArgumentException( |
67 | - "Invalid type '" . gettype($property) . "' for argument 'property'." |
|
67 | + "Invalid type '".gettype($property)."' for argument 'property'." |
|
68 | 68 | ); |
69 | 69 | } |
70 | 70 |
@@ -64,7 +64,7 @@ |
||
64 | 64 | { |
65 | 65 | if (!is_string($property)) { |
66 | 66 | throw new InvalidArgumentException( |
67 | - "Invalid type '" . gettype($property) . "' for argument 'property'." |
|
67 | + "Invalid type '".gettype($property)."' for argument 'property'." |
|
68 | 68 | ); |
69 | 69 | } |
70 | 70 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | if (!is_bool($returnArray)) { |
25 | 25 | throw new InvalidArgumentException( |
26 | - "Invalid type '" . gettype($returnArray) . "' for argument 'returnArray'." |
|
26 | + "Invalid type '".gettype($returnArray)."' for argument 'returnArray'." |
|
27 | 27 | ); |
28 | 28 | } |
29 | 29 |