Skip to content

Commit 69bc99e

Browse files
committed
* Fix esource can be null
1 parent 62b4539 commit 69bc99e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ExceptionsHandler/FilesystemExceptionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function __construct(private readonly Filesystem $filesystem)
1515

1616
public function save(?int $jobId, $exceptions): void
1717
{
18-
if ($jobId === null || !is_resource($exceptions) || stream_get_contents($exceptions, 1) === false) {
18+
if ($jobId === null || !\is_resource($exceptions) || stream_get_contents($exceptions, 1) === false) {
1919
return;
2020
}
2121

0 commit comments

Comments
 (0)