@@ -8,7 +8,7 @@ |
||
8 | 8 | * file that was distributed with this source code. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace PHPinnacle\Elastics; |
14 | 14 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @var int |
19 | 19 | */ |
20 | - protected $prefixLength; |
|
20 | + protected $prefixLength; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @param int $prefixLength |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * file that was distributed with this source code. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace PHPinnacle\Elastics\Traits; |
14 | 14 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @var int |
19 | 19 | */ |
20 | - protected $maxExpansions; |
|
20 | + protected $maxExpansions; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @param int $maxExpansions |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * file that was distributed with this source code. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace PHPinnacle\Elastics\Traits; |
14 | 14 |
@@ -29,17 +29,17 @@ |
||
29 | 29 | /** |
30 | 30 | * @var Boolean |
31 | 31 | */ |
32 | - protected $lenient; |
|
32 | + protected $lenient; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @var string |
36 | 36 | */ |
37 | - protected $zeroTermsQuery; |
|
37 | + protected $zeroTermsQuery; |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @var float |
41 | 41 | */ |
42 | - protected $cutoffFrequency; |
|
42 | + protected $cutoffFrequency; |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @var string |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * file that was distributed with this source code. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace PHPinnacle\Elastics\Traits; |
14 | 14 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @var float |
19 | 19 | */ |
20 | - protected $boost; |
|
20 | + protected $boost; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @param float $boost |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * file that was distributed with this source code. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace PHPinnacle\Elastics\Traits; |
14 | 14 |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * file that was distributed with this source code. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace PHPinnacle\Elastics\Exception; |
14 | 14 |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * file that was distributed with this source code. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | use PHPinnacle\Elastics\Query; |
14 | 14 | |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | */ |
20 | 20 | function elastics_compile(Query ...$queries): array |
21 | 21 | { |
22 | - $list = \array_map(function (Query $query) { |
|
22 | + $list = \array_map(function(Query $query) { |
|
23 | 23 | return [ |
24 | 24 | $query->name() => $query->compile(), |
25 | 25 | ]; |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * file that was distributed with this source code. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace PHPinnacle\Elastics\Query; |
14 | 14 |
@@ -8,7 +8,7 @@ |
||
8 | 8 | * file that was distributed with this source code. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | const |
14 | 14 | ELASTICS_OPERATOR_OR = 'or', |