Skip to content

Commit 10f5034

Browse files
committed
docs: add @param
1 parent 9981d44 commit 10f5034

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

system/Test/FeatureTestTrait.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ public function skipEvents()
137137
* Calls a single URI, executes it, and returns a TestResponse
138138
* instance that can be used to run many assertions against.
139139
*
140+
* @param string $method HTTP verb
141+
*
140142
* @return TestResponse
141143
*/
142144
public function call(string $method, string $path, ?array $params = null)
@@ -281,6 +283,8 @@ public function options(string $path, ?array $params = null)
281283
/**
282284
* Setup a Request object to use so that CodeIgniter
283285
* won't try to auto-populate some of the items.
286+
*
287+
* @param string $method HTTP verb
284288
*/
285289
protected function setupRequest(string $method, ?string $path = null): IncomingRequest
286290
{
@@ -325,6 +329,8 @@ protected function setupHeaders(IncomingRequest $request)
325329
*
326330
* Always populate the GET vars based on the URI.
327331
*
332+
* @param string $method HTTP verb
333+
*
328334
* @return Request
329335
*
330336
* @throws ReflectionException

0 commit comments

Comments
 (0)