@@ -41,7 +41,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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)) { |