Skip to content

Commit 459ea26

Browse files
committed
docs: add/fix PHPDoc types
1 parent b6a3c7d commit 459ea26

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

system/Filters/Filters.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ public function setResponse(ResponseInterface $response)
156156
* Runs through all of the filters for the specified
157157
* uri and position.
158158
*
159-
* @return mixed|RequestInterface|ResponseInterface
159+
* @param string $uri URI path relative to baseURL
160+
*
161+
* @return RequestInterface|ResponseInterface|string|null
160162
*
161163
* @throws FilterException
162164
*/
@@ -221,6 +223,8 @@ public function run(string $uri, string $position = 'before')
221223
* run through both a before and after and don't want to double
222224
* process the rows.
223225
*
226+
* @param string|null $uri URI path relative to baseURL (all lowercase)
227+
*
224228
* @return Filters
225229
*/
226230
public function initialize(?string $uri = null)
@@ -391,7 +395,7 @@ public function getArguments(?string $key = null)
391395
/**
392396
* Add any applicable (not excluded) global filter settings to the mix.
393397
*
394-
* @param string $uri
398+
* @param string|null $uri URI path relative to baseURL (all lowercase)
395399
*
396400
* @return void
397401
*/
@@ -454,7 +458,7 @@ protected function processMethods()
454458
/**
455459
* Add any applicable configured filters to the mix.
456460
*
457-
* @param string $uri
461+
* @param string|null $uri URI path relative to baseURL (all lowercase)
458462
*
459463
* @return void
460464
*/

0 commit comments

Comments
 (0)