Skip to content

Commit 26f2ebb

Browse files
authored
Merge pull request #1 from linna/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2 parents 0294eaa + db8f6c9 commit 26f2ebb

21 files changed

+26
-26
lines changed

src/Filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright (c) 2018, Sebastian Rapetti
88
* @license http://opensource.org/licenses/MIT MIT License
99
*/
10-
declare(strict_types = 1);
10+
declare(strict_types=1);
1111

1212
namespace Linna\Filter;
1313

src/Lexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright (c) 2018, Sebastian Rapetti
88
* @license http://opensource.org/licenses/MIT MIT License
99
*/
10-
declare(strict_types = 1);
10+
declare(strict_types=1);
1111

1212
namespace Linna\Filter;
1313

src/Parser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright (c) 2018, Sebastian Rapetti
88
* @license http://opensource.org/licenses/MIT MIT License
99
*/
10-
declare(strict_types = 1);
10+
declare(strict_types=1);
1111

1212
namespace Linna\Filter;
1313

@@ -104,7 +104,7 @@ private function applyTypesToParams(array &$words): void
104104
$types = $rules[$word[0]]['args_type'];
105105

106106
foreach ($types as $key => $type) {
107-
$param = &$word[$key+1];
107+
$param = &$word[$key + 1];
108108

109109
if ($type === 'number') {
110110
$number->sanitize($param);

src/RuleBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright (c) 2018, Sebastian Rapetti
88
* @license http://opensource.org/licenses/MIT MIT License
99
*/
10-
declare(strict_types = 1);
10+
declare(strict_types=1);
1111

1212
namespace Linna\Filter;
1313

src/Rules/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright (c) 2018, Sebastian Rapetti
88
* @license http://opensource.org/licenses/MIT MIT License
99
*/
10-
declare(strict_types = 1);
10+
declare(strict_types=1);
1111

1212
namespace Linna\Filter\Rules;
1313

src/Rules/DateCompare.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright (c) 2018, Sebastian Rapetti
88
* @license http://opensource.org/licenses/MIT MIT License
99
*/
10-
declare(strict_types = 1);
10+
declare(strict_types=1);
1111

1212
namespace Linna\Filter\Rules;
1313

src/Rules/Email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright (c) 2018, Sebastian Rapetti
88
* @license http://opensource.org/licenses/MIT MIT License
99
*/
10-
declare(strict_types = 1);
10+
declare(strict_types=1);
1111

1212
namespace Linna\Filter\Rules;
1313

src/Rules/Escape.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright (c) 2018, Sebastian Rapetti
88
* @license http://opensource.org/licenses/MIT MIT License
99
*/
10-
declare(strict_types = 1);
10+
declare(strict_types=1);
1111

1212
namespace Linna\Filter\Rules;
1313

src/Rules/Number.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright (c) 2018, Sebastian Rapetti
88
* @license http://opensource.org/licenses/MIT MIT License
99
*/
10-
declare(strict_types = 1);
10+
declare(strict_types=1);
1111

1212
namespace Linna\Filter\Rules;
1313

src/Rules/NumberCompare.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright (c) 2018, Sebastian Rapetti
88
* @license http://opensource.org/licenses/MIT MIT License
99
*/
10-
declare(strict_types = 1);
10+
declare(strict_types=1);
1111

1212
namespace Linna\Filter\Rules;
1313

0 commit comments

Comments
 (0)