Skip to content

Commit 361afa3

Browse files
committed
refactor: Fix phpstan return.missing
1 parent dd08f95 commit 361afa3

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
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
/**

utils/phpstan-baseline/loader.neon

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ includes:
4343
- property.readOnlyByPhpDocAssignOutOfClass.neon
4444
- property.readOnlyByPhpDocDefaultValue.neon
4545
- property.unusedType.neon
46-
- return.missing.neon
4746
- return.type.neon
4847
- return.unusedType.neon
4948
- staticMethod.notFound.neon

utils/phpstan-baseline/return.missing.neon

-13
This file was deleted.

0 commit comments

Comments
 (0)