Skip to content

Commit 5efe3af

Browse files
committed
Fix for null return when a verification has no checks.
TODO: Put a test in place fo this.
1 parent 0e8c7e1 commit 5efe3af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Verify/Verification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public function getChecks()
381381
{
382382
$checks = $this->proxyArrayAccess('checks');
383383
if(!$checks){
384-
return;
384+
return [];
385385
}
386386

387387
foreach($checks as $i => $check) {

0 commit comments

Comments
 (0)