Test Failed
Pull Request — master (#1)
by Joao
03:14 queued 38s
created
src/Uri.php 1 patch
Doc Comments   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @return mixed
44
+     * @return string
45 45
      */
46 46
     public function getUsername()
47 47
     {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     }
50 50
 
51 51
     /**
52
-     * @return mixed
52
+     * @return null|string
53 53
      */
54 54
     public function getPassword()
55 55
     {
@@ -176,6 +176,10 @@  discard block
 block discarded – undo
176 176
             . $this->concatPrefix('#', $this->getFragment());
177 177
     }
178 178
 
179
+    /**
180
+     * @param string $str
181
+     * @param string $suffix
182
+     */
179 183
     private function concatSuffix($str, $suffix)
180 184
     {
181 185
         if (!empty($str)) {
@@ -184,6 +188,9 @@  discard block
 block discarded – undo
184 188
         return $str;
185 189
     }
186 190
 
191
+    /**
192
+     * @param string $prefix
193
+     */
187 194
     private function concatPrefix($prefix, $str)
188 195
     {
189 196
         if (!empty($str)) {
Please login to merge, or discard this patch.