Skip to content

Commit

Permalink
Add brandTemplate property to HasBrand trait. (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Dec 31, 2023
1 parent 15eeab8 commit 5cb2253
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/Attribute/Component/HasBrand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ trait HasBrand
protected string $brandImage = '';
protected string $brandLink = '';
protected array $brandLinkAttributes = [];
protected string $brandTemplate = '';
protected string $brandText = '';
protected string $brandToggle = '';

Expand Down
2 changes: 0 additions & 2 deletions tests/Attribute/Component/HasBrandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ public function testImmutability(): void
{
$instance = new class () {
use HasBrand;

protected string $brandTemplate = '';
};

$this->assertNotSame($instance, $instance->brandContainer(false));
Expand Down

0 comments on commit 5cb2253

Please sign in to comment.