@@ -52,7 +52,7 @@ |
||
| 52 | 52 | * |
| 53 | 53 | * @throws \LogicException |
| 54 | 54 | */ |
| 55 | - public static function encode($input, ?int $options = null, ?int $depth = null): string |
|
| 55 | + public static function encode($input, ?int $options = null, ?int $depth = null) : string |
|
| 56 | 56 | { |
| 57 | 57 | $options = $options ?? 0; |
| 58 | 58 | $depth = $depth ?? 512; |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | * |
| 43 | 43 | * @return array |
| 44 | 44 | */ |
| 45 | - public function transform($userGroups): ?array |
|
| 45 | + public function transform($userGroups): ? array |
|
| 46 | 46 | { |
| 47 | 47 | $output = []; |
| 48 | 48 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * |
| 72 | 72 | * @throws TransformationFailedException if object (issue) is not found. |
| 73 | 73 | */ |
| 74 | - public function reverseTransform($userGroups): ?array |
|
| 74 | + public function reverseTransform($userGroups): ? array |
|
| 75 | 75 | { |
| 76 | 76 | $output = null; |
| 77 | 77 | |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | * |
| 27 | 27 | * @return array|null |
| 28 | 28 | */ |
| 29 | - public static function getCriteria($column, $search, string $operand = null, int $mode = null): ?array |
|
| 29 | + public static function getCriteria($column, $search, string $operand = null, int $mode = null): ? array |
|
| 30 | 30 | { |
| 31 | 31 | $operand = $operand ?? self::OPERAND_OR; |
| 32 | 32 | $mode = $mode ?? self::MODE_FULL; |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * |
| 74 | 74 | * @return array|null |
| 75 | 75 | */ |
| 76 | - private static function createCriteria(array $columns, array $searchTerms, string $operand, int $mode): ?array |
|
| 76 | + private static function createCriteria(array $columns, array $searchTerms, string $operand, int $mode): ? array |
|
| 77 | 77 | { |
| 78 | 78 | /** |
| 79 | 79 | * Lambda function to process each search term to specified search columns. |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | * @param string $value |
| 96 | 96 | * @param integer|string $key |
| 97 | 97 | */ |
| 98 | - $iterator = function (string &$value, $key) use (&$output) { |
|
| 98 | + $iterator = function (string&$value, $key) use (&$output) { |
|
| 99 | 99 | $order = 'ASC'; |
| 100 | 100 | |
| 101 | 101 | if (\is_string($key)) { |