Completed
Pull Request — master (#12)
by
unknown
02:19
created
Net/URL2.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
      * Returns the user part of the userinfo part (the part preceding the first
230 230
      *  ":"), or false if there is no userinfo part.
231 231
      *
232
-     * @return string|bool
232
+     * @return string|false
233 233
      */
234 234
     public function getUser()
235 235
     {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
      * contain "@" in front of the hostname) or the userinfo part does not
245 245
      * contain ":".
246 246
      *
247
-     * @return string|bool
247
+     * @return string|false
248 248
      */
249 249
     public function getPassword()
250 250
     {
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
      * Returns the authority part, i.e. [ userinfo "@" ] host [ ":" port ], or
342 342
      * false if there is no authority.
343 343
      *
344
-     * @return string|bool
344
+     * @return false|string
345 345
      */
346 346
     public function getAuthority()
347 347
     {
@@ -665,7 +665,7 @@  discard block
 block discarded – undo
665 665
      * Sets the specified variable in the query string.
666 666
      *
667 667
      * @param string $name  variable name
668
-     * @param mixed  $value variable value
668
+     * @param string  $value variable value
669 669
      *
670 670
      * @return $this
671 671
      */
@@ -1047,7 +1047,7 @@  discard block
 block discarded – undo
1047 1047
      * currently executing PHP script.
1048 1048
      *
1049 1049
      * @throws Exception
1050
-     * @return string
1050
+     * @return Net_URL2
1051 1051
      */
1052 1052
     public static function getCanonical()
1053 1053
     {
@@ -1106,7 +1106,7 @@  discard block
 block discarded – undo
1106 1106
      *
1107 1107
      * @param string $optionName The name of the option to retrieve
1108 1108
      *
1109
-     * @return mixed
1109
+     * @return string
1110 1110
      */
1111 1111
     public function getOption($optionName)
1112 1112
     {
Please login to merge, or discard this patch.