@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\LSQLQueryBuilder\System; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\LSQLQueryBuilder\System; |
| 4 | 4 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | $this->fields = $return; |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | - public function count(string $field = '*', ?string $alias = null): void |
|
| 30 | + public function count(string $field = '*', ?string $alias = null) : void |
|
| 31 | 31 | { |
| 32 | 32 | if ($field != '*') { |
| 33 | 33 | $field = $this->escapeField($field); |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\LSQLQueryBuilder\System; |
| 4 | 4 | |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | return $this->fields->result(); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - public function join(string $table, ?array $on = null, ?string $alias = null, string $joinType = 'left'): Select |
|
| 36 | + public function join(string $table, ? array $on = null, ?string $alias = null, string $joinType = 'left') : Select |
|
| 37 | 37 | { |
| 38 | 38 | $this->join = new Join($table, $on, $alias, $joinType); |
| 39 | 39 | $this->join->setParentTable($this->table()); |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\LSQLQueryBuilder\Parts; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\LSQLQueryBuilder\Parts; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\LSQLQueryBuilder\Parts; |
| 4 | 4 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | . (count($this->values) |
| 42 | 42 | ? implode(',', $this->values) |
| 43 | 43 | : (count($this->fields) & !count($this->values) |
| 44 | - ? implode(',', array_map(function ($field) { |
|
| 44 | + ? implode(',', array_map(function($field) { |
|
| 45 | 45 | return $this->escapeField($field) . ' = ?'; |
| 46 | 46 | ;}, $this->fields)) |
| 47 | 47 | : '') |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\LSQLQueryBuilder\Parts; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\LSQLQueryBuilder\Parts; |
| 4 | 4 | |