Skip to content

Commit 40cfacf

Browse files
authored
Merge pull request #1282 from fmertins/20181002_system_test
system/Test/FeatureTestCase::setupRequest(), minor fixes phpdoc block…
2 parents 227b5b3 + 3742b30 commit 40cfacf

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)