Skip to content

Commit 42a00ff

Browse files
authored
refactor: Fix phpstan return.missing (#9382)
1 parent 9de9856 commit 42a00ff

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

system/Test/Mock/MockResult.php

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public function dataSeek($n = 0)
7777
*/
7878
protected function fetchAssoc()
7979
{
80+
return [];
8081
}
8182

8283
/**
+1-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
# total 2 errors
1+
# total 1 error
22

33
parameters:
44
ignoreErrors:
55
-
66
message: '#^Method CodeIgniter\\Images\\Handlers\\BaseHandler\:\:__call\(\) should return mixed but return statement is missing\.$#'
77
count: 1
88
path: ../../system/Images/Handlers/BaseHandler.php
9-
10-
-
11-
message: '#^Method CodeIgniter\\Test\\Mock\\MockResult\:\:fetchAssoc\(\) should return mixed but return statement is missing\.$#'
12-
count: 1
13-
path: ../../system/Test/Mock/MockResult.php

0 commit comments

Comments
 (0)