@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Spiral Framework. |
|
4 | - * |
|
5 | - * @license MIT |
|
6 | - * @author Anton Titov (Wolfy-J) |
|
7 | - */ |
|
3 | + * Spiral Framework. |
|
4 | + * |
|
5 | + * @license MIT |
|
6 | + * @author Anton Titov (Wolfy-J) |
|
7 | + */ |
|
8 | 8 | namespace Spiral\Tokenizer\Configs; |
9 | 9 | |
10 | 10 | use Spiral\Core\InjectableConfig; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Spiral Framework. |
|
4 | - * |
|
5 | - * @license MIT |
|
6 | - * @author Anton Titov (Wolfy-J) |
|
7 | - */ |
|
3 | + * Spiral Framework. |
|
4 | + * |
|
5 | + * @license MIT |
|
6 | + * @author Anton Titov (Wolfy-J) |
|
7 | + */ |
|
8 | 8 | namespace Spiral\Tokenizer\Configs; |
9 | 9 | |
10 | 10 | use Spiral\Core\InjectableConfig; |
@@ -146,7 +146,7 @@ |
||
146 | 146 | */ |
147 | 147 | protected function classReflection($class) |
148 | 148 | { |
149 | - $loader = function ($class) { |
|
149 | + $loader = function($class) { |
|
150 | 150 | throw new LocatorException("Class '{$class}' can not be loaded."); |
151 | 151 | }; |
152 | 152 |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Spiral Framework. |
|
4 | - * |
|
5 | - * @license MIT |
|
6 | - * @author Anton Titov (Wolfy-J) |
|
7 | - */ |
|
3 | + * Spiral Framework. |
|
4 | + * |
|
5 | + * @license MIT |
|
6 | + * @author Anton Titov (Wolfy-J) |
|
7 | + */ |
|
8 | 8 | namespace Spiral\Tokenizer\Configs; |
9 | 9 | |
10 | 10 | use Spiral\Core\InjectableConfig; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Spiral Framework. |
|
4 | - * |
|
5 | - * @license MIT |
|
6 | - * @author Anton Titov (Wolfy-J) |
|
7 | - */ |
|
3 | + * Spiral Framework. |
|
4 | + * |
|
5 | + * @license MIT |
|
6 | + * @author Anton Titov (Wolfy-J) |
|
7 | + */ |
|
8 | 8 | namespace Spiral\Tokenizer\Configs; |
9 | 9 | |
10 | 10 | use Spiral\Core\InjectableConfig; |
@@ -106,7 +106,7 @@ |
||
106 | 106 | * @see AbstractWhere |
107 | 107 | * @param string|mixed $identifier Column or expression. |
108 | 108 | * @param mixed $variousA Operator or value. |
109 | - * @param mixed $variousB Value, if operator specified. |
|
109 | + * @param Parameter $variousB Value, if operator specified. |
|
110 | 110 | * @param mixed $variousC Required only in between statements. |
111 | 111 | * @return $this |
112 | 112 | * @throws BuilderException |
@@ -419,7 +419,7 @@ |
||
419 | 419 | */ |
420 | 420 | private function havingWrapper() |
421 | 421 | { |
422 | - return function ($parameter) { |
|
422 | + return function($parameter) { |
|
423 | 423 | if ($parameter instanceof FragmentInterface) { |
424 | 424 | //We are only not creating bindings for plan fragments |
425 | 425 | if (!$parameter instanceof ParameterInterface && !$parameter instanceof QueryBuilder) { |
@@ -318,7 +318,7 @@ discard block |
||
318 | 318 | */ |
319 | 319 | private function onWrapper() |
320 | 320 | { |
321 | - return function ($parameter) { |
|
321 | + return function($parameter) { |
|
322 | 322 | if ($parameter instanceof FragmentInterface) { |
323 | 323 | return $parameter; |
324 | 324 | } |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | */ |
335 | 335 | private function whereWrapper() |
336 | 336 | { |
337 | - return function ($parameter) { |
|
337 | + return function($parameter) { |
|
338 | 338 | if ($parameter instanceof FragmentInterface) { |
339 | 339 | //We are only not creating bindings for plan fragments |
340 | 340 | if (!$parameter instanceof ParameterInterface && !$parameter instanceof QueryBuilder) { |
@@ -419,7 +419,7 @@ |
||
419 | 419 | */ |
420 | 420 | private function havingWrapper() |
421 | 421 | { |
422 | - return function ($parameter) { |
|
422 | + return function($parameter) { |
|
423 | 423 | if ($parameter instanceof FragmentInterface) { |
424 | 424 | //We are only not creating bindings for plan fragments |
425 | 425 | if (!$parameter instanceof ParameterInterface && !$parameter instanceof QueryBuilder) { |
@@ -429,7 +429,7 @@ |
||
429 | 429 | $class, |
430 | 430 | array $parameters, |
431 | 431 | $context = null, |
432 | - \ReflectionClass &$reflection = null |
|
432 | + \ReflectionClass & $reflection = null |
|
433 | 433 | ) { |
434 | 434 | try { |
435 | 435 | $reflection = new \ReflectionClass($class); |