@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * @param class-string $implementation |
103 | 103 | */ |
104 | - function (string $implementation) : bool { |
|
104 | + function(string $implementation) : bool { |
|
105 | 105 | return |
106 | 106 | ! static::IsStringInArray($implementation, $this->processedSources); |
107 | 107 | } |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | /** |
129 | 129 | * @param class-string $interface |
130 | 130 | */ |
131 | - function (string $interface) use ($implementation) : bool { |
|
131 | + function(string $interface) use ($implementation) : bool { |
|
132 | 132 | return static::IsStringA($implementation, $interface); |
133 | 133 | } |
134 | 134 | ); |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | /** |
216 | 216 | * @param class-string $interface |
217 | 217 | */ |
218 | - function (string $interface) use ($implementation) : bool { |
|
218 | + function(string $interface) use ($implementation) : bool { |
|
219 | 219 | return static::IsStringA($implementation, $interface); |
220 | 220 | } |
221 | 221 | ); |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | */ |
234 | 234 | $strings = array_filter( |
235 | 235 | $interfaces, |
236 | - function (string $maybe) : bool { |
|
236 | + function(string $maybe) : bool { |
|
237 | 237 | return interface_exists($maybe) || class_exists($maybe); |
238 | 238 | } |
239 | 239 | ); |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | { |
251 | 251 | return array_filter( |
252 | 252 | $interfaces, |
253 | - function (string $maybe) : bool { |
|
253 | + function(string $maybe) : bool { |
|
254 | 254 | return interface_exists($maybe); |
255 | 255 | }, |
256 | 256 | ARRAY_FILTER_USE_KEY |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | */ |
263 | 263 | final protected function MakeMethodFilter(string $interface) : Closure |
264 | 264 | { |
265 | - return function (string $maybe) use ($interface) : bool { |
|
265 | + return function(string $maybe) use ($interface) : bool { |
|
266 | 266 | $ref = new ReflectionClass($interface); |
267 | 267 | |
268 | 268 | return |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | */ |
324 | 324 | $out = array_filter( |
325 | 325 | $in, |
326 | - function (array $val) : bool { |
|
326 | + function(array $val) : bool { |
|
327 | 327 | return count($val) > self::INT_FILTER_NON_EMPTY_ARRAY; |
328 | 328 | } |
329 | 329 | ); |