Skip to content

Commit

Permalink
Rename to link
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 committed Jul 16, 2024
1 parent 54ce915 commit 8668a2e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 28 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"livewire/livewire": "^3.4",
"spatie/laravel-package-tools": "^1.16.3",
"spatie/php-structure-discoverer": "^2.1",
"spatie/laravel-html": "^3.10",
"spatie/laravel-html": "^3.11",
"artesaos/seotools": "^1.3",
"blade-ui-kit/blade-icons": "^1.6.0"
},
Expand Down
2 changes: 0 additions & 2 deletions config/wireuse.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

use Foxws\WireUse\Support\Html\Mixins\BaseElementMixin;
use Foxws\WireUse\Support\Html\Mixins\HtmlExtendedMixin;
use Foxws\WireUse\Support\Html\Mixins\ImgElementMixin;
use Foxws\WireUse\Support\Html\Mixins\LinkElementMixin;
use Spatie\Html\BaseElement;
use Spatie\Html\Elements;
Expand All @@ -26,7 +25,6 @@
Html::class => HtmlExtendedMixin::class,
BaseElement::class => BaseElementMixin::class,
Elements\A::class => LinkElementMixin::class,
Elements\Img::class => ImgElementMixin::class,
],
],

Expand Down
24 changes: 0 additions & 24 deletions src/Support/Html/Mixins/ImgElementMixin.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Support/Html/Mixins/LinkElementMixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class LinkElementMixin
{
public function route(): mixed
public function link(): mixed
{
return function (string $route, ...$parameters) {
/** @var A $this */
Expand Down

0 comments on commit 8668a2e

Please sign in to comment.