Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33778bb

Browse files
committed
fix: apply coding standard
1 parent c68d9ad commit 33778bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ public function find(?string $ip, ?string $url, ?int $limit, ?string $method, in
6161
$result = [];
6262
while (\count($result) < $limit && $line = $this->readLineFromFile($file)) {
6363
$values = str_getcsv($line);
64-
65-
if (count($values) !== 7) {
64+
65+
if (7 !== \count($values)) {
6666
continue;
6767
}
68-
68+
6969
[$csvToken, $csvIp, $csvMethod, $csvUrl, $csvTime, $csvParent, $csvStatusCode] = $values;
70-
70+
7171
$csvTime = (int) $csvTime;
7272

7373
if ($ip && !str_contains($csvIp, $ip) || $url && !str_contains($csvUrl, $url) || $method && !str_contains($csvMethod, $method) || $statusCode && !str_contains($csvStatusCode, $statusCode)) {

0 commit comments

Comments
 (0)