Skip to content

Commit f21d76e

Browse files
author
fmertins
committed
system/Test/FeatureTestCase::setupRequest(), minor fixes phpdoc block and return type.
1 parent 979b606 commit f21d76e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

system/Test/FeatureTestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,11 @@ public function options(string $path, array $params = null)
208208
*
209209
* @param string $method
210210
* @param string|null $path
211+
* @param string|null $params
211212
*
212213
* @return \CodeIgniter\HTTP\IncomingRequest
213214
*/
214-
protected function setupRequest(string $method, string $path=null, $params = null)
215+
protected function setupRequest(string $method, string $path=null, string $params = null): IncomingRequest
215216
{
216217
$config = config(App::class);
217218
$uri = new URI($config->baseURL .'/'. trim($path, '/ '));

0 commit comments

Comments
 (0)