@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | /** |
196 | 196 | * Returns the application object |
197 | 197 | * |
198 | - * @return Application |
|
198 | + * @return string |
|
199 | 199 | * |
200 | 200 | * @since 2.0.0 |
201 | 201 | */ |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | /** |
256 | 256 | * Return this Component objects parent |
257 | 257 | * |
258 | - * @return Application|Component the parent object |
|
258 | + * @return Component the parent object |
|
259 | 259 | */ |
260 | 260 | public function getParent() |
261 | 261 | { |
@@ -300,6 +300,7 @@ discard block |
||
300 | 300 | |
301 | 301 | /** |
302 | 302 | * Sets a child of this Component instance |
303 | + * @param Component $component |
|
303 | 304 | */ |
304 | 305 | public function setChild($component) |
305 | 306 | { |
@@ -169,10 +169,10 @@ |
||
169 | 169 | /** |
170 | 170 | * Executes the given method and returns a Response object |
171 | 171 | * |
172 | - * @param \ReflectionMethod|string $method |
|
172 | + * @param \ReflectionMethod $method |
|
173 | 173 | * @param array $args |
174 | 174 | * |
175 | - * @return \Response |
|
175 | + * @return Response |
|
176 | 176 | * |
177 | 177 | * @since 2.0.0 |
178 | 178 | */ |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | /** |
271 | 271 | * Get the character encoding |
272 | 272 | * |
273 | - * @return string|null $encoding encoding name |
|
273 | + * @return string $encoding encoding name |
|
274 | 274 | * |
275 | 275 | * @since 2.0.0 |
276 | 276 | */ |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | /** |
338 | 338 | * Get the timezone |
339 | 339 | * |
340 | - * @return string|null timezone name (http://php.net/timezones) |
|
340 | + * @return string timezone name (http://php.net/timezones) |
|
341 | 341 | * |
342 | 342 | * @since 2.0.0 |
343 | 343 | */ |
@@ -55,6 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | /** |
57 | 57 | * |
58 | + * @param string $name |
|
58 | 59 | */ |
59 | 60 | public function createLogInstance($name) |
60 | 61 | { |
@@ -79,6 +80,7 @@ discard block |
||
79 | 80 | |
80 | 81 | /** |
81 | 82 | * |
83 | + * @param Component $component |
|
82 | 84 | */ |
83 | 85 | public function createRouterInstance($component) |
84 | 86 | { |
@@ -87,6 +89,7 @@ discard block |
||
87 | 89 | |
88 | 90 | /** |
89 | 91 | * |
92 | + * @param string $name |
|
90 | 93 | */ |
91 | 94 | public function createLanguageInstance($name) |
92 | 95 | { |
@@ -95,6 +98,8 @@ discard block |
||
95 | 98 | |
96 | 99 | /** |
97 | 100 | * |
101 | + * @param Component $component |
|
102 | + * @param string $uri |
|
98 | 103 | */ |
99 | 104 | public function createRequestInstance($component, $uri, $input) |
100 | 105 | { |
@@ -127,6 +132,9 @@ discard block |
||
127 | 132 | |
128 | 133 | /** |
129 | 134 | * |
135 | + * @param string $name |
|
136 | + * @param string $environment |
|
137 | + * @param Application $app |
|
130 | 138 | */ |
131 | 139 | public function createEnvironmentContainer($name, $environment, $app) |
132 | 140 | { |
@@ -135,6 +143,9 @@ discard block |
||
135 | 143 | |
136 | 144 | /** |
137 | 145 | * |
146 | + * @param Application $app |
|
147 | + * @param string $uri |
|
148 | + * @param string $namespace |
|
138 | 149 | */ |
139 | 150 | public function createComponentInstance($app, $uri, $namespace, $paths = null, $routeable = true, $parent = null) |
140 | 151 | { |
@@ -302,7 +302,7 @@ discard block |
||
302 | 302 | /** |
303 | 303 | * Sets the configuration container to be used by this instance |
304 | 304 | * |
305 | - * @param Fuel\Config\Container $config |
|
305 | + * @param Container $config |
|
306 | 306 | * @return Input |
307 | 307 | */ |
308 | 308 | public function setConfig(Container $config) |
@@ -579,7 +579,7 @@ discard block |
||
579 | 579 | /** |
580 | 580 | * Returns the raw data from php://input |
581 | 581 | * |
582 | - * @return array |
|
582 | + * @return string |
|
583 | 583 | * |
584 | 584 | * @since 2.0.0 |
585 | 585 | */ |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | /** |
179 | 179 | * Returns this requests Input instance |
180 | 180 | * |
181 | - * @return Input |
|
181 | + * @return \Fuel\Foundation\Input |
|
182 | 182 | * |
183 | 183 | * @since 1.1.0 |
184 | 184 | */ |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | /** |
203 | 203 | * Returns this requests current Uri object |
204 | 204 | * |
205 | - * @return Uri |
|
205 | + * @return \Fuel\Foundation\Uri |
|
206 | 206 | * |
207 | 207 | * @since 1.1.0 |
208 | 208 | */ |
@@ -34,7 +34,6 @@ discard block |
||
34 | 34 | * Constructor |
35 | 35 | * |
36 | 36 | * @param string $resource |
37 | - * @param array|Input $input |
|
38 | 37 | * |
39 | 38 | * @since 1.0.0 |
40 | 39 | */ |
@@ -52,7 +51,7 @@ discard block |
||
52 | 51 | /** |
53 | 52 | * Returns this requests current Config object |
54 | 53 | * |
55 | - * @return Uri |
|
54 | + * @return \Fuel\Config\Container |
|
56 | 55 | * |
57 | 56 | * @since 1.1.0 |
58 | 57 | */ |
@@ -64,7 +63,7 @@ discard block |
||
64 | 63 | /** |
65 | 64 | * Execute the request |
66 | 65 | * |
67 | - * @return Request |
|
66 | + * @return Cli |
|
68 | 67 | * @throws \Exception |
69 | 68 | * @throws \DomainException |
70 | 69 | * |
@@ -161,6 +160,8 @@ discard block |
||
161 | 160 | * @returns Input |
162 | 161 | * |
163 | 162 | * @since 2.0.0 |
163 | + * @param string $uri |
|
164 | + * @param string $method |
|
164 | 165 | */ |
165 | 166 | public function translate($uri, $method) |
166 | 167 | { |
@@ -27,7 +27,6 @@ discard block |
||
27 | 27 | * Constructor |
28 | 28 | * |
29 | 29 | * @param string $resource |
30 | - * @param array|Input $input |
|
31 | 30 | * |
32 | 31 | * @since 1.0.0 |
33 | 32 | */ |
@@ -42,7 +41,7 @@ discard block |
||
42 | 41 | /** |
43 | 42 | * Returns this requests current Config object |
44 | 43 | * |
45 | - * @return Uri |
|
44 | + * @return \Fuel\Config\Container |
|
46 | 45 | * |
47 | 46 | * @since 1.1.0 |
48 | 47 | */ |
@@ -54,7 +53,7 @@ discard block |
||
54 | 53 | /** |
55 | 54 | * Execute the request |
56 | 55 | * |
57 | - * @return Request |
|
56 | + * @return Local |
|
58 | 57 | * @throws \Exception |
59 | 58 | * @throws \DomainException |
60 | 59 | * |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | * |
161 | 161 | * @param int $status The status code |
162 | 162 | * |
163 | - * @return Response |
|
163 | + * @return Base |
|
164 | 164 | * |
165 | 165 | * @since 1.0.0 |
166 | 166 | */ |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | * @param string $value The header value |
178 | 178 | * @param bool $replace Whether to replace existing value for the header |
179 | 179 | * |
180 | - * @return Response |
|
180 | + * @return Base |
|
181 | 181 | * |
182 | 182 | * @since 1.0.0 |
183 | 183 | */ |
@@ -224,9 +224,8 @@ discard block |
||
224 | 224 | * Sets the body content for the response |
225 | 225 | * |
226 | 226 | * @param string $content The response content |
227 | - * @param string $mimeType mime type for the content |
|
228 | 227 | * |
229 | - * @return Response |
|
228 | + * @return Base |
|
230 | 229 | * |
231 | 230 | * @since 2.0.0 |
232 | 231 | */ |
@@ -239,7 +238,7 @@ discard block |
||
239 | 238 | /** |
240 | 239 | * Get the body content for the response |
241 | 240 | * |
242 | - * @return mixed |
|
241 | + * @return string |
|
243 | 242 | * |
244 | 243 | * @since 2.0.0 |
245 | 244 | */ |
@@ -253,7 +252,7 @@ discard block |
||
253 | 252 | * |
254 | 253 | * @param string $contentType The response content's mime type |
255 | 254 | * |
256 | - * @return Response |
|
255 | + * @return Base |
|
257 | 256 | * |
258 | 257 | * @since 2.0.0 |
259 | 258 | */ |
@@ -281,7 +280,7 @@ discard block |
||
281 | 280 | * |
282 | 281 | * @param string $charset Character set |
283 | 282 | * |
284 | - * @return Response |
|
283 | + * @return Base |
|
285 | 284 | * |
286 | 285 | * @since 2.0.0 |
287 | 286 | */ |
@@ -307,7 +306,7 @@ discard block |
||
307 | 306 | /** |
308 | 307 | * Output both the content and the headers |
309 | 308 | * |
310 | - * @return Response |
|
309 | + * @return Base |
|
311 | 310 | * |
312 | 311 | * @since 2.0.0 |
313 | 312 | */ |
@@ -327,7 +326,7 @@ discard block |
||
327 | 326 | /** |
328 | 327 | * Sends the headers if they haven't already been sent. |
329 | 328 | * |
330 | - * @return Response |
|
329 | + * @return Base |
|
331 | 330 | * |
332 | 331 | * @throws \RuntimeException |
333 | 332 | * |