@@ -400,7 +400,7 @@ discard block |
||
400 | 400 | * Returns the chain class, which allows events to be chained together |
401 | 401 | * rather than the reference being called several times. see \uri\chain |
402 | 402 | * |
403 | - * @return object The chain class |
|
403 | + * @return chain The chain class |
|
404 | 404 | */ |
405 | 405 | public function chain() { |
406 | 406 | return $this->chain; |
@@ -1142,7 +1142,7 @@ discard block |
||
1142 | 1142 | /** |
1143 | 1143 | * Simple method to init a chainable object |
1144 | 1144 | * |
1145 | - * @param object $class The current instance of \uri\main |
|
1145 | + * @param main $class The current instance of \uri\main |
|
1146 | 1146 | */ |
1147 | 1147 | public function __construct(&$class) { |
1148 | 1148 | $this->class = &$class; |
@@ -1156,7 +1156,7 @@ discard block |
||
1156 | 1156 | /** |
1157 | 1157 | * Chainable alias to \uri\main::replace() within the current instance |
1158 | 1158 | * |
1159 | - * @return object This instance |
|
1159 | + * @return chain This instance |
|
1160 | 1160 | */ |
1161 | 1161 | public function p_str($prepend = '', $append = '') { |
1162 | 1162 | echo $prepend.\uri\generate::string($this->object).$append; |
@@ -1168,7 +1168,7 @@ discard block |
||
1168 | 1168 | * |
1169 | 1169 | * @param string $section The section to replace |
1170 | 1170 | * @param string $str The string to replace the section with |
1171 | - * @return object This instance |
|
1171 | + * @return chain This instance |
|
1172 | 1172 | */ |
1173 | 1173 | public function replace($section, $str) { |
1174 | 1174 | if (\uri\actions::modify($this->object, 'replace', $section, $str) === FALSE) { |
@@ -1182,7 +1182,7 @@ discard block |
||
1182 | 1182 | * |
1183 | 1183 | * @param string $section The section to prepend |
1184 | 1184 | * @param string $str The string to prepend the section with |
1185 | - * @return object This instance |
|
1185 | + * @return chain This instance |
|
1186 | 1186 | */ |
1187 | 1187 | public function prepend($section, $str) { |
1188 | 1188 | if (\uri\actions::modify($this->object, 'prepend', $section, $str) === FALSE) { |
@@ -1196,7 +1196,7 @@ discard block |
||
1196 | 1196 | * |
1197 | 1197 | * @param string $section The section to append |
1198 | 1198 | * @param string $str The string to append the section with |
1199 | - * @return object This instance |
|
1199 | + * @return chain This instance |
|
1200 | 1200 | */ |
1201 | 1201 | public function append($section, $str) { |
1202 | 1202 | if (\uri\actions::modify($this->object, 'append', $section, $str) === FALSE) { |
@@ -1210,7 +1210,7 @@ discard block |
||
1210 | 1210 | * |
1211 | 1211 | * @param string $key The key to add |
1212 | 1212 | * @param mixed $value The value of $key |
1213 | - * @return object This instance |
|
1213 | + * @return chain This instance |
|
1214 | 1214 | */ |
1215 | 1215 | public function query_add($key, $value) { |
1216 | 1216 | \uri\query::add($this->object, $key, $value); |
@@ -1222,7 +1222,7 @@ discard block |
||
1222 | 1222 | * |
1223 | 1223 | * @param string $key The key to replace |
1224 | 1224 | * @param mixed $value The value of $key |
1225 | - * @return object This instance |
|
1225 | + * @return chain This instance |
|
1226 | 1226 | */ |
1227 | 1227 | public function query_replace($key, $value) { |
1228 | 1228 | \uri\query::replace($this->object, $key, $value); |
@@ -1233,7 +1233,7 @@ discard block |
||
1233 | 1233 | * Chainable alias to \uri\main::query_remove() within the current instance |
1234 | 1234 | * |
1235 | 1235 | * @param string $key The key to remove |
1236 | - * @return object This instance |
|
1236 | + * @return chain This instance |
|
1237 | 1237 | */ |
1238 | 1238 | public function query_remove($key) { |
1239 | 1239 | \uri\query::remove($this->object, $key); |
@@ -1245,7 +1245,7 @@ discard block |
||
1245 | 1245 | * |
1246 | 1246 | * @param string $key The key to rename |
1247 | 1247 | * @param string $new_key The new name of $key |
1248 | - * @return object This instance |
|
1248 | + * @return chain This instance |
|
1249 | 1249 | */ |
1250 | 1250 | public function query_rename($key, $new_key) { |
1251 | 1251 | if (\uri\query::rename($this->object, $key, $new_key) === FALSE) { |
@@ -1257,7 +1257,7 @@ discard block |
||
1257 | 1257 | /** |
1258 | 1258 | * Chainable alias to \uri\main::reset() within the current instance |
1259 | 1259 | * |
1260 | - * @return object This instance |
|
1260 | + * @return chain This instance |
|
1261 | 1261 | */ |
1262 | 1262 | public function reset() { |
1263 | 1263 | $this->class->__construct($this->class->input); |