Skip to content

Commit acdc974

Browse files
committed
fix: PHPStan errors
1 parent ca4fdf7 commit acdc974

3 files changed

Lines changed: 3 additions & 13 deletions

File tree

utils/phpstan-baseline/loader.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 2036 errors
1+
# total 2032 errors
22

33
includes:
44
- argument.type.neon

utils/phpstan-baseline/method.childReturnType.neon

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 28 errors
1+
# total 26 errors
22

33
parameters:
44
ignoreErrors:
@@ -37,21 +37,11 @@ parameters:
3737
count: 1
3838
path: ../../system/Database/Postgre/Builder.php
3939

40-
-
41-
message: '#^Return type \(mixed\) of method CodeIgniter\\Database\\Postgre\\Builder\:\:decrement\(\) should be covariant with return type \(bool\) of method CodeIgniter\\Database\\BaseBuilder\:\:decrement\(\)$#'
42-
count: 1
43-
path: ../../system/Database/Postgre/Builder.php
44-
4540
-
4641
message: '#^Return type \(mixed\) of method CodeIgniter\\Database\\Postgre\\Builder\:\:delete\(\) should be covariant with return type \(bool\|string\) of method CodeIgniter\\Database\\BaseBuilder\:\:delete\(\)$#'
4742
count: 1
4843
path: ../../system/Database/Postgre/Builder.php
4944

50-
-
51-
message: '#^Return type \(mixed\) of method CodeIgniter\\Database\\Postgre\\Builder\:\:increment\(\) should be covariant with return type \(bool\) of method CodeIgniter\\Database\\BaseBuilder\:\:increment\(\)$#'
52-
count: 1
53-
path: ../../system/Database/Postgre/Builder.php
54-
5545
-
5646
message: '#^Return type \(mixed\) of method CodeIgniter\\Database\\Postgre\\Builder\:\:replace\(\) should be covariant with return type \(CodeIgniter\\Database\\BaseResult\|CodeIgniter\\Database\\Query\|string\|false\) of method CodeIgniter\\Database\\BaseBuilder\:\:replace\(\)$#'
5747
count: 1

utils/phpstan-baseline/missingType.iterableValue.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 1228 errors
1+
# total 1226 errors
22

33
parameters:
44
ignoreErrors:

0 commit comments

Comments
 (0)