1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Enhancement: Enable and configure increment_style fixer

Co-authored-by: Mathias Reker <mathias@reker.dk>

Closes GH-698.
This commit is contained in:
Andreas Möller
2022-09-12 15:27:05 +02:00
committed by GitHub
parent a0352f2138
commit 2ae10ff262
3 changed files with 5 additions and 2 deletions

View File

@@ -404,7 +404,7 @@ function print_news($news, $dog, $max = 5, $onlyyear = null, $return = false) {
foreach ($item["category"] as $category) {
if (is_null($dog) || in_array($category["term"], (array)$dog, true)) {
$ok = true;
++$count;
$count++;
break;
}
}