mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update TestsActions.php
This commit is contained in:
@@ -145,7 +145,7 @@ class TestsActions
|
||||
...$actions,
|
||||
]);
|
||||
|
||||
if ($action && filled($arguments = Arr::last($actions)['arguments'])) {
|
||||
if ($action && filled($arguments = Arr::last($actions)['arguments'] ?? [])) {
|
||||
$action->mergeArguments($arguments);
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@ class TestsActions
|
||||
return $this;
|
||||
}
|
||||
|
||||
if ($action && filled($arguments = Arr::last($actions)['arguments'])) {
|
||||
if ($action && filled($arguments = Arr::last($actions)['arguments'] ?? [])) {
|
||||
$action->mergeArguments($arguments);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user