Skip to content

Commit 2e7aa6b

Browse files
sukhwinder33445nilmerg
authored andcommitted
Add interface MutableHtml compatibility
1 parent 13600b9 commit 2e7aa6b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Layout/Controls.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function setTabs(Tabs $tabs)
4343
return $this;
4444
}
4545

46-
public function isEmpty()
46+
public function isEmpty(): bool
4747
{
4848
if (! parent::isEmpty()) {
4949
return false;

src/Widget/Ball.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected function assembleCssClasses(): array
9191
*
9292
* @return $this
9393
*/
94-
public function addHtml(ValidHtml ...$content): Ball
94+
public function addHtml(ValidHtml ...$content): static
9595
{
9696
if (count($content) === 1 && $content[0] instanceof Text) {
9797
$content[0] = new HtmlElement('span', null, $content[0]);

0 commit comments

Comments
 (0)