Completed
Pull Request — master (#153)
by ignace nyamagana
01:55
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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
     private const RESERVED_OPERATOR = '=,!@|';
65 65
 
66 66
     private const OPERATOR_HASH_LOOKUP = [
67
-        ''  => ['prefix' => '',  'joiner' => ',', 'query' => false],
68
-        '+' => ['prefix' => '',  'joiner' => ',', 'query' => false],
67
+        ''  => ['prefix' => '', 'joiner' => ',', 'query' => false],
68
+        '+' => ['prefix' => '', 'joiner' => ',', 'query' => false],
69 69
         '#' => ['prefix' => '#', 'joiner' => ',', 'query' => false],
70 70
         '.' => ['prefix' => '.', 'joiner' => '.', 'query' => false],
71 71
         '/' => ['prefix' => '/', 'joiner' => '/', 'query' => false],
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
      */
210 210
     private function filterVariables(array $variables): array
211 211
     {
212
-        $filter = function ($key): bool {
212
+        $filter = function($key): bool {
213 213
             return in_array($key, $this->variableNames, true);
214 214
         };
215 215
 
Please login to merge, or discard this patch.