Skip to content

Commit a4ac716

Browse files
fix: update expected return type for logger helper in Foundation helpers type assertions
1 parent 81c53fe commit a4ac716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/Foundation/Helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
assertType('Illuminate\Foundation\Bus\PendingDispatch', dispatch('foo'));
3030
assertType('Illuminate\Foundation\Bus\PendingClosureDispatch', dispatch(fn () => 1));
3131

32-
assertType('Illuminate\Log\LogManager', logger());
32+
assertType('Psr\Log\LoggerInterface', logger());
3333
assertType('null', logger('foo'));
3434

3535
assertType('Illuminate\Log\LogManager', logs());

0 commit comments

Comments
 (0)