Skip to content

Commit 45a36c1

Browse files
committed
v0.9.11
1 parent 538f679 commit 45a36c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ShellErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ private static function getErrorDetail(object $error, string $field, ?string $pa
235235
*
236236
* @return bool
237237
*/
238-
protected static function checkForEmpty(object $response): bool
238+
protected static function checkForEmpty(?object $response = null): bool
239239
{
240240
// check for empty response ?
241241
if ( empty($response) || empty($response->data) ){

0 commit comments

Comments
 (0)