@@ -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\Database\Builders; |
9 | 9 | |
10 | 10 | use Spiral\Database\Entities\Database; |
@@ -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\Database\Builders\Prototypes; |
9 | 9 | |
10 | 10 | use Psr\Log\LoggerAwareInterface; |
@@ -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\Database\Builders\Prototypes; |
9 | 9 | |
10 | 10 | use Spiral\Cache\StoreInterface; |
@@ -417,7 +417,7 @@ discard block |
||
417 | 417 | */ |
418 | 418 | private function havingWrapper() |
419 | 419 | { |
420 | - return function ($parameter) { |
|
420 | + return function($parameter) { |
|
421 | 421 | if ($parameter instanceof FragmentInterface) { |
422 | 422 | //We are only not creating bindings for plan fragments |
423 | 423 | if (!$parameter instanceof ParameterInterface && !$parameter instanceof QueryBuilder) { |
@@ -426,7 +426,7 @@ discard block |
||
426 | 426 | } |
427 | 427 | |
428 | 428 | //Wrapping all values with ParameterInterface |
429 | - $parameter = new Parameter($parameter, Parameter::DETECT_TYPE);; |
|
429 | + $parameter = new Parameter($parameter, Parameter::DETECT_TYPE); ; |
|
430 | 430 | |
431 | 431 | //Let's store to sent to driver when needed |
432 | 432 | $this->havingParameters[] = $parameter; |
@@ -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\Database\Builders\Prototypes; |
9 | 9 | |
10 | 10 | use Spiral\Database\Entities\QueryBuilder; |
@@ -344,7 +344,7 @@ discard block |
||
344 | 344 | */ |
345 | 345 | private function whereWrapper() |
346 | 346 | { |
347 | - return function ($parameter) { |
|
347 | + return function($parameter) { |
|
348 | 348 | if ($parameter instanceof FragmentInterface) { |
349 | 349 | //We are only not creating bindings for plan fragments |
350 | 350 | if (!$parameter instanceof ParameterInterface && !$parameter instanceof QueryBuilder) { |
@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | } |
354 | 354 | |
355 | 355 | //Wrapping all values with ParameterInterface |
356 | - $parameter = new Parameter($parameter, Parameter::DETECT_TYPE);; |
|
356 | + $parameter = new Parameter($parameter, Parameter::DETECT_TYPE); ; |
|
357 | 357 | |
358 | 358 | //Let's store to sent to driver when needed |
359 | 359 | $this->whereParameters[] = $parameter; |
@@ -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\Database\Builders; |
9 | 9 | |
10 | 10 | use Spiral\Database\Builders\Prototypes\AbstractAffect; |
@@ -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\Database\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\Database; |
9 | 9 | |
10 | 10 | use Spiral\Core\Component; |
@@ -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\Database; |
9 | 9 | |
10 | 10 | use Spiral\Database\Exceptions\DatabaseException; |
@@ -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\Database\Drivers\MySQL; |
9 | 9 | |
10 | 10 | use PDO; |