Skip to content

Commit 720ac5e

Browse files
lee-togithub-actions[bot]
authored andcommitted
[rector] Rector fixes
1 parent f8a5580 commit 720ac5e

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/UI/src/Components/ActionButton.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public function hotKeys(array $keys, bool $withBadge = false): static
213213
$hotKeys = implode(',', $keys);
214214
$badge = $withBadge ? str($hotKeys)
215215
->explode(',')
216-
->map(function (string $key) {
216+
->map(function (string $key): string {
217217
$key = trim($key);
218218
$map = [
219219
'meta' => '⌘',

‎src/UI/src/Components/FormBuilder.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use MoonShine\Contracts\Core\TypeCasts\DataCasterContract;
1313
use MoonShine\Contracts\UI\ActionButtonContract;
1414
use MoonShine\Contracts\UI\Collection\ActionButtonsContract;
15-
use MoonShine\Contracts\UI\ComponentAttributesBagContract;
1615
use MoonShine\Contracts\UI\ComponentContract;
1716
use MoonShine\Contracts\UI\FieldContract;
1817
use MoonShine\Contracts\UI\FormBuilderContract;

0 commit comments

Comments
 (0)