@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * This method MUST retain the state of the current instance, and return |
| 116 | 116 | * an instance that contains the modified component with the appended data |
| 117 | 117 | * |
| 118 | - * @param HierarchicalComponent|string $component the component to append |
|
| 118 | + * @param AbstractHierarchicalComponent $component the component to append |
|
| 119 | 119 | * |
| 120 | 120 | * @return static |
| 121 | 121 | */ |
@@ -184,8 +184,6 @@ discard block |
||
| 184 | 184 | * This method MUST retain the state of the current instance, and return |
| 185 | 185 | * an instance that contains the modified component with the replaced data |
| 186 | 186 | * |
| 187 | - * @param int $offset the label offset to remove and replace by |
|
| 188 | - * the given component |
|
| 189 | 187 | * @param HierarchicalComponent|string $component the component added |
| 190 | 188 | * |
| 191 | 189 | * @return static |
@@ -106,7 +106,6 @@ discard block |
||
| 106 | 106 | * Retrieves a single path segment. If the segment offset has not been set, |
| 107 | 107 | * returns the default value provided. |
| 108 | 108 | * |
| 109 | - * @param string $offset the segment offset |
|
| 110 | 109 | * @param mixed $default Default value to return if the offset does not exist. |
| 111 | 110 | * |
| 112 | 111 | * @return mixed |
@@ -137,7 +136,7 @@ discard block |
||
| 137 | 136 | * This method MUST retain the state of the current instance, and return |
| 138 | 137 | * an instance that contains the modified component with the appended data |
| 139 | 138 | * |
| 140 | - * @param HierarchicalComponent|string $component the component to append |
|
| 139 | + * @param HierarchicalPath $component the component to append |
|
| 141 | 140 | * |
| 142 | 141 | * @return static |
| 143 | 142 | */ |
@@ -198,8 +197,6 @@ discard block |
||
| 198 | 197 | * This method MUST retain the state of the current instance, and return |
| 199 | 198 | * an instance that contains the extension basename modified. |
| 200 | 199 | * |
| 201 | - * @param string $ext the new extension |
|
| 202 | - * can preceeded with or without the dot (.) character |
|
| 203 | 200 | * |
| 204 | 201 | * @throws \LogicException If the basename is empty |
| 205 | 202 | * |
@@ -151,7 +151,6 @@ discard block |
||
| 151 | 151 | * Retrieves a single host label. If the label offset has not been set, |
| 152 | 152 | * returns the default value provided. |
| 153 | 153 | * |
| 154 | - * @param string $offset the label offset |
|
| 155 | 154 | * @param mixed $default Default value to return if the offset does not exist. |
| 156 | 155 | * |
| 157 | 156 | * @return mixed |
@@ -237,6 +236,7 @@ discard block |
||
| 237 | 236 | |
| 238 | 237 | /** |
| 239 | 238 | * @inheritdoc |
| 239 | + * @param integer $type |
|
| 240 | 240 | */ |
| 241 | 241 | protected static function formatComponentString($data, $type) |
| 242 | 242 | { |
@@ -119,7 +119,6 @@ discard block |
||
| 119 | 119 | * Retrieves a single query parameter. If the parameter has not been set, |
| 120 | 120 | * returns the default value provided. |
| 121 | 121 | * |
| 122 | - * @param string $offset the parameter name |
|
| 123 | 122 | * @param mixed $default Default value to return if the parameter does not exist. |
| 124 | 123 | * |
| 125 | 124 | * @return mixed |
@@ -140,7 +139,7 @@ discard block |
||
| 140 | 139 | * This method MUST retain the state of the current instance, and return |
| 141 | 140 | * an instance that contains the modified query |
| 142 | 141 | * |
| 143 | - * @param Query|string $query the data to be merged query can be |
|
| 142 | + * @param Query $query the data to be merged query can be |
|
| 144 | 143 | * - another Interfaces\Query object |
| 145 | 144 | * - a string or a Stringable object |
| 146 | 145 | * |
@@ -26,9 +26,8 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * Return a Uri object modified according to the modifier |
| 28 | 28 | * |
| 29 | - * @param Uri|UriInterface $payload |
|
| 30 | 29 | * |
| 31 | - * @return Uri|UriInterface |
|
| 30 | + * @return UriInterface |
|
| 32 | 31 | */ |
| 33 | 32 | public function __invoke($uri) |
| 34 | 33 | { |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Return a Uri object modified according to the modifier |
| 25 | 25 | * |
| 26 | - * @param Uri|UriInterface $payload |
|
| 27 | 26 | * |
| 28 | 27 | * @return Uri|UriInterface |
| 29 | 28 | */ |
@@ -25,7 +25,6 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * Modify a URI part |
| 27 | 27 | * |
| 28 | - * @param string $str the URI part string representation |
|
| 29 | 28 | * |
| 30 | 29 | * @return string the modified URI part string representation |
| 31 | 30 | */ |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * |
| 64 | 64 | * @param Uri|UriInterface $payload |
| 65 | 65 | * |
| 66 | - * @return Uri|UriInterface |
|
| 66 | + * @return UriInterface |
|
| 67 | 67 | */ |
| 68 | 68 | public function __invoke($payload) |
| 69 | 69 | { |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | /** |
| 77 | 77 | * @param LeagueUriInterface|UriInterface $relative |
| 78 | 78 | * |
| 79 | - * @return LeagueUriInterface|UriInterface |
|
| 79 | + * @return UriInterface |
|
| 80 | 80 | */ |
| 81 | 81 | protected function generate($relative) |
| 82 | 82 | { |
@@ -165,7 +165,6 @@ |
||
| 165 | 165 | * information. |
| 166 | 166 | * |
| 167 | 167 | * @param string $user The user name to use for authority. |
| 168 | - * @param null|string $password The password associated with $user. |
|
| 169 | 168 | * |
| 170 | 169 | * @throws RuntimeException if the returned URI object is invalid. |
| 171 | 170 | * |