Skip to content

Commit d9313c4

Browse files
committed
docs: replace type.
1 parent a477400 commit d9313c4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

system/Filters/FilterInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface FilterInterface
3131
*
3232
* @param array|null $arguments
3333
*
34-
* @return mixed
34+
* @return RequestInterface|ResponseInterface|string|void
3535
*/
3636
public function before(RequestInterface $request, $arguments = null);
3737

@@ -43,7 +43,7 @@ public function before(RequestInterface $request, $arguments = null);
4343
*
4444
* @param array|null $arguments
4545
*
46-
* @return mixed
46+
* @return ResponseInterface|void
4747
*/
4848
public function after(RequestInterface $request, ResponseInterface $response, $arguments = null);
4949
}

system/Filters/Filters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public function enableFilters(array $names, string $when = 'before')
375375
/**
376376
* Returns the arguments for a specified key, or all.
377377
*
378-
* @return array|bool|float|int|object|string|null
378+
* @return array<string, string>|string
379379
*/
380380
public function getArguments(?string $key = null)
381381
{

0 commit comments

Comments
 (0)