From 6c81d5fcdf56557285c00508fa0dc380c46951f6 Mon Sep 17 00:00:00 2001 From: Mateusz Cholewka Date: Mon, 17 Aug 2026 00:33:49 +0200 Subject: [PATCH] Fix linter --- tests/Unit/PhpHighlighterTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Unit/PhpHighlighterTest.php b/tests/Unit/PhpHighlighterTest.php index ef6216e..b2d1a7c 100644 --- a/tests/Unit/PhpHighlighterTest.php +++ b/tests/Unit/PhpHighlighterTest.php @@ -2,9 +2,10 @@ declare(strict_types=1); +use PhpTui\Tui\Text\Span; use Tapper\Console\PhpHighlighter; -function spanFor(array $spans, string $content): ?PhpTui\Tui\Text\Span +function spanFor(array $spans, string $content): ?Span { foreach ($spans as $span) { if ($span->content === $content) {