Completed
Pull Request — master (#161)
by
unknown
43:12 queued 41:40
created
src/UriInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
         $pairs = null === $query ? [] : explode('&', $query);
79 79
         sort($pairs, SORT_REGULAR);
80 80
 
81
-        $replace = static function (array $matches): string {
81
+        $replace = static function(array $matches): string {
82 82
             return rawurldecode($matches[0]);
83 83
         };
84 84
 
Please login to merge, or discard this patch.
src/Uri.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -961,7 +961,7 @@
 block discarded – undo
961 961
             return $path;
962 962
         }
963 963
 
964
-        $replace = static function (array $matches): string {
964
+        $replace = static function(array $matches): string {
965 965
             return $matches['delim'].str_replace('|', ':', $matches['root']).$matches['rest'];
966 966
         };
967 967
 
Please login to merge, or discard this patch.
src/UriTemplate.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -87,8 +87,8 @@  discard block
 block discarded – undo
87 87
      * @link https://tools.ietf.org/html/rfc6570#appendix-A
88 88
      */
89 89
     private const OPERATOR_HASH_LOOKUP = [
90
-        ''  => ['prefix' => '',  'joiner' => ',', 'query' => false],
91
-        '+' => ['prefix' => '',  'joiner' => ',', 'query' => false],
90
+        ''  => ['prefix' => '', 'joiner' => ',', 'query' => false],
91
+        '+' => ['prefix' => '', 'joiner' => ',', 'query' => false],
92 92
         '#' => ['prefix' => '#', 'joiner' => ',', 'query' => false],
93 93
         '.' => ['prefix' => '.', 'joiner' => '.', 'query' => false],
94 94
         '/' => ['prefix' => '/', 'joiner' => '/', 'query' => false],
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
      */
259 259
     private function filterVariables(array $variables): array
260 260
     {
261
-        $filter = function ($key): bool {
261
+        $filter = function($key): bool {
262 262
             return in_array($key, $this->variableNames, true);
263 263
         };
264 264
 
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
             }
408 408
         }
409 409
 
410
-        $nullFilter = static function ($value): bool {
410
+        $nullFilter = static function($value): bool {
411 411
             return '' !== $value;
412 412
         };
413 413
 
Please login to merge, or discard this patch.