PHPStan fix
This commit is contained in:
parent
713446093a
commit
885975e3b4
2 changed files with 3 additions and 5 deletions
|
@ -2,10 +2,8 @@
|
|||
|
||||
namespace ByJoby\HTML\Containers\DocumentTags;
|
||||
|
||||
use Stringable;
|
||||
use ByJoby\HTML\Tags\ContentTagInterface;
|
||||
|
||||
interface TitleTagInterface
|
||||
interface TitleTagInterface extends ContentTagInterface
|
||||
{
|
||||
public function setContent(string|Stringable $content): static;
|
||||
public function content(): string|Stringable;
|
||||
}
|
|
@ -6,7 +6,7 @@ use PHPUnit\Framework\TestCase;
|
|||
|
||||
class TitleTagTest extends TestCase
|
||||
{
|
||||
public function testGetAndSet()
|
||||
public function testGetAndSet(): void
|
||||
{
|
||||
$title = new TitleTag;
|
||||
$this->assertEquals('Untitled', $title->content());
|
||||
|
|
Loading…
Reference in a new issue