@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Saito - The Threaded Web Forum |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Saito - The Threaded Web Forum |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Saito - The Threaded Web Forum |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Saito - The Threaded Web Forum |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Saito - The Threaded Web Forum |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | Router::plugin( |
| 7 | 7 | 'SaitoSearch', |
| 8 | 8 | ['path' => '/searches'], |
| 9 | - function (RouteBuilder $routes) { |
|
| 9 | + function(RouteBuilder $routes) { |
|
| 10 | 10 | $routes->connect('/:action', ['controller' => 'searches']); |
| 11 | 11 | } |
| 12 | 12 | ); |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Saito - The Threaded Web Forum |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Saito - The Threaded Web Forum |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Saito - The Threaded Web Forum |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | */ |
| 91 | 91 | public function getOmittedWords() |
| 92 | 92 | { |
| 93 | - $filter = function ($word) { |
|
| 93 | + $filter = function($word) { |
|
| 94 | 94 | return mb_strlen($word) < $this->_length; |
| 95 | 95 | }; |
| 96 | 96 | $string = preg_replace('/(".*")/', '', $this->_string); |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | if (mb_strpos($word, '-') === false) { |
| 150 | 150 | continue; |
| 151 | 151 | } |
| 152 | - $string = str_replace($word, '"' . $word . '"', $string); |
|
| 152 | + $string = str_replace($word, '"'.$word.'"', $string); |
|
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | return $string; |