Skip to content

Commit 201f4a0

Browse files
committed
updated to only check not null
1 parent 9cb0fba commit 201f4a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Helpers/test_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function fake($model, ?array $overrides = null, $persist = true)
3030
{
3131
$fabricator = new Fabricator($model);
3232

33-
if ($overrides !== null && $overrides !== []) {
33+
if ($overrides !== null) {
3434
$fabricator->setOverrides($overrides);
3535
}
3636

0 commit comments

Comments
 (0)