Skip to content

Commit 4ad8457

Browse files
committed
[HttpKernel] Fix missing argument $statusCode in ProfilerStorageInterface::find()
1 parent d4b65e4 commit 4ad8457

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/Symfony/Component/HttpKernel/Profiler/ProfilerStorageInterface.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ interface ProfilerStorageInterface
2929
/**
3030
* Finds profiler tokens for the given criteria.
3131
*
32-
* @param int|null $limit The maximum number of tokens to return
33-
* @param int|null $start The start date to search from
34-
* @param int|null $end The end date to search to
35-
* @param \Closure|null $filter A filter to apply on the list of tokens
32+
* @param int|null $limit The maximum number of tokens to return
33+
* @param int|null $start The start date to search from
34+
* @param int|null $end The end date to search to
35+
* @param string|null $statusCode The response status code
36+
* @param \Closure|null $filter A filter to apply on the list of tokens
3637
*/
37-
public function find(?string $ip, ?string $url, ?int $limit, ?string $method, int $start = null, int $end = null/* , \Closure $filter = null */): array;
38+
public function find(?string $ip, ?string $url, ?int $limit, ?string $method, int $start = null, int $end = null/* , string $statusCode = null, \Closure $filter = null */): array;
3839

3940
/**
4041
* Reads data associated with the given token.

0 commit comments

Comments
 (0)