Skip to content

Commit 2d4d866

Browse files
committed
refactor: Fix phpstan return.missing
1 parent e475fd8 commit 2d4d866

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

system/Test/Mock/MockResult.php

Lines changed: 1 addition & 0 deletions
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ includes:
4444
- property.readOnlyByPhpDocAssignOutOfClass.neon
4545
- property.readOnlyByPhpDocDefaultValue.neon
4646
- property.unusedType.neon
47-
- return.missing.neon
4847
- return.type.neon
4948
- return.unusedType.neon
5049
- staticMethod.notFound.neon

utils/phpstan-baseline/return.missing.neon

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)