Completed
Push — master ( 46448f...1fae80 )
by Derek
03:09
created
src/Anshar/Http/UriParts/Fragment.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $uri_fragment = $this->data;
62 62
 
63 63
         if (!empty($uri_fragment)) {
64
-            $uri_fragment = "#" . $uri_fragment;
64
+            $uri_fragment = "#".$uri_fragment;
65 65
         }
66 66
 
67 67
         return $uri_fragment;
@@ -72,12 +72,12 @@  discard block
 block discarded – undo
72 72
      */
73 73
     protected function compileValidPattern()
74 74
     {
75
-        self::$valid_pattern = '/^([\/\?' .
76
-            $this->unreserved_pattern .
77
-            $this->sub_delims_pattern .
78
-            $this->pchar_pattern .
79
-            ']|' .                          //predefined patterns or percent-encoding
80
-            $this->pct_encoded_pattern .
75
+        self::$valid_pattern = '/^([\/\?'.
76
+            $this->unreserved_pattern.
77
+            $this->sub_delims_pattern.
78
+            $this->pchar_pattern.
79
+            ']|'.//predefined patterns or percent-encoding
80
+            $this->pct_encoded_pattern.
81 81
             ')*$/';
82 82
     }
83 83
 
Please login to merge, or discard this patch.