@@ -47,7 +47,7 @@ |
||
47 | 47 | /** |
48 | 48 | * @param string $field |
49 | 49 | * @param string $cond |
50 | - * @param mixed $value |
|
50 | + * @param integer $value |
|
51 | 51 | * @return $this |
52 | 52 | */ |
53 | 53 | public function add(string $field, string $cond, $value): Where |
@@ -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\System\Traits; |
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\Traits; |
4 | 4 | |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | { |
9 | 9 | private $order; |
10 | 10 | |
11 | - public function order(?string $field = null, string $type = 'asc'): Porder |
|
11 | + public function order(?string $field = null, string $type = 'asc') : Porder |
|
12 | 12 | { |
13 | 13 | $this->order = new Porder($field, $type); |
14 | 14 | $this->order->base($this); |
@@ -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\Traits; |
4 | 4 | |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | { |
9 | 9 | private $group; |
10 | 10 | |
11 | - public function group(?string $field = null): PGroup |
|
11 | + public function group(?string $field = null) : PGroup |
|
12 | 12 | { |
13 | 13 | $this->group = new Pgroup($field); |
14 | 14 | $this->group->base($this); |
@@ -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 @@ 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; |
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\System\Traits; |
4 | 4 |