Skip to content

Commit fc11022

Browse files
Remove redundant abstract method. (#7)
1 parent 602935f commit fc11022

10 files changed

+4
-18
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 0.1.3 March 14, 2024
4+
5+
- Bug #7: Remove redundant abstract method in `data` classes (@terabytesoftw)
6+
37
## 0.1.2 March 8, 2024
48

59
- Bug #3: Change visibility poperty `attributes` to `public` in tests (@terabytesoftw)

src/Data/HasDataBsAutoClose.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
*/
1010
trait HasDataBsAutoClose
1111
{
12-
abstract public function dataAttributes(array $values): static;
13-
1412
/**
1513
* Set the `HTML` data-bs-auto-close attribute for the toggle.
1614
*

src/Data/HasDataBsDismiss.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
*/
1010
trait HasDataBsDismiss
1111
{
12-
abstract public function dataAttributes(array $values): static;
13-
1412
/**
1513
* Set the `HTML` data-bs-dismiss attribute for the toggle.
1614
*

src/Data/HasDataBsTarget.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ trait HasDataBsTarget
1111
{
1212
protected bool|string $dataBsTarget = false;
1313

14-
abstract public function dataAttributes(array $values): static;
15-
1614
/**
1715
* Set the `HTML` data-bs-target attribute for the toggle.
1816
*

src/Data/HasDataBsToggle.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ trait HasDataBsToggle
1111
{
1212
protected bool|string $dataBsToggle = false;
1313

14-
abstract public function dataAttributes(array $values): static;
15-
1614
/**
1715
* Set the `HTML` data-bs-toggle attribute for the toggle.
1816
*

src/Data/HasDataCollapseToggle.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
*/
1010
trait HasDataCollapseToggle
1111
{
12-
abstract public function dataAttributes(array $values): static;
13-
1412
/**
1513
* Set the `HTML` data-collapse-toggle attribute for the toggle.
1614
*

src/Data/HasDataDismissTarget.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ trait HasDataDismissTarget
1111
{
1212
protected bool|string $dataDismissTarget = false;
1313

14-
abstract public function dataAttributes(array $values): static;
15-
1614
/**
1715
* Set the `HTML` data-dismiss-target attribute for the toggle.
1816
*

src/Data/HasDataDrawerTarget.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ trait HasDataDrawerTarget
1111
{
1212
protected bool|string $dataDrawerTarget = false;
1313

14-
abstract public function dataAttributes(array $values): static;
15-
1614
/**
1715
* Set the `HTML` data drawer target attribute for the toggle.
1816
*

src/Data/HasDataDropdownToggle.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ trait HasDataDropdownToggle
1111
{
1212
protected bool|string $dataDropdownToggle = false;
1313

14-
abstract public function dataAttributes(array $values): static;
15-
1614
/**
1715
* Set the `HTML` data dropdown toggle attribute for the toggle.
1816
*

src/Data/HasDataToggle.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ trait HasDataToggle
1111
{
1212
protected bool|string $dataToggle = false;
1313

14-
abstract public function dataAttributes(array $values): static;
15-
1614
/**
1715
* Set the `HTML` data toggle attribute for the toggle.
1816
*

0 commit comments

Comments
 (0)