Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb9b0d0

Browse files
committed
Change limit argument from string to integer.
1 parent753a509 commitfb9b0d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ public function purge()
116116
/**
117117
* Finds profiler tokens for the given criteria.
118118
*
119-
* @paramstring|null $limit The maximum number of tokens to return
119+
* @paramint|null $limit The maximum number of tokens to return
120120
* @param string|null $start The start date to search from
121121
* @param string|null $end The end date to search to
122122
*
123123
* @return array
124124
*
125125
* @see https://php.net/datetime.formats for the supported date/time formats
126126
*/
127-
publicfunctionfind(?string$ip, ?string$url, ?string$limit, ?string$method, ?string$start, ?string$end,string$statusCode =null)
127+
publicfunctionfind(?string$ip, ?string$url, ?int$limit, ?string$method, ?string$start, ?string$end,string$statusCode =null)
128128
{
129129
return$this->storage->find($ip,$url,$limit,$method,$this->getTimestamp($start),$this->getTimestamp($end),$statusCode);
130130
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp