Skip to content

Commit b824f2f

Browse files
committed
Fix CS issue and update PHPStan baseline
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
1 parent 389baf5 commit b824f2f

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

phpstan-baseline.neon

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,12 +2208,6 @@ parameters:
22082208
count: 1
22092209
path: src/Controllers/Database/Structure/RealRowCountController.php
22102210

2211-
-
2212-
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatNumber\(\) expects float\|int\|string, int\|null given\.$#'
2213-
identifier: argument.type
2214-
count: 1
2215-
path: src/Controllers/Database/Structure/RealRowCountController.php
2216-
22172211
-
22182212
message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
22192213
identifier: binaryOp.invalid
@@ -3255,6 +3249,12 @@ parameters:
32553249
count: 4
32563250
path: src/Controllers/Server/Status/StatusController.php
32573251

3252+
-
3253+
message: '#^Parameter \#1 \$value of static method PhpMyAdmin\\Util\:\:formatNumber\(\) expects float\|int\|string, mixed given\.$#'
3254+
identifier: argument.type
3255+
count: 5
3256+
path: src/Controllers/Server/Status/StatusController.php
3257+
32583258
-
32593259
message: '#^Binary operation "\*" between 0\.01 and float\|int\|string results in an error\.$#'
32603260
identifier: binaryOp.invalid

src/Table/Table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,7 @@ public function getRealRowCountTable(): int
17501750
{
17511751
return (int) $this->dbi->fetchValue(
17521752
'SELECT COUNT(*) FROM ' . Util::backquote($this->dbName) . '.'
1753-
. Util::backquote($this->name)
1753+
. Util::backquote($this->name),
17541754
);
17551755
}
17561756

0 commit comments

Comments
 (0)