Completed
Pull Request — master (#153)
by ignace nyamagana
02:07
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
     private const REGEXP_EXPAND_PLACEHOLDER = '/\{(?<placeholder>[^\}]+)\}/';
42 42
 
43 43
     private const OPERATOR_HASH_LOOKUP = [
44
-        ''  => ['prefix' => '',  'joiner' => ',', 'query' => false],
45
-        '+' => ['prefix' => '',  'joiner' => ',', 'query' => false],
44
+        ''  => ['prefix' => '', 'joiner' => ',', 'query' => false],
45
+        '+' => ['prefix' => '', 'joiner' => ',', 'query' => false],
46 46
         '#' => ['prefix' => '#', 'joiner' => ',', 'query' => false],
47 47
         '.' => ['prefix' => '.', 'joiner' => '.', 'query' => false],
48 48
         '/' => ['prefix' => '/', 'joiner' => '/', 'query' => false],
Please login to merge, or discard this patch.