From bbab104f7e00c059ffffa115f6b769e2333e137a Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Thu, 30 Nov 2023 23:52:14 +0100 Subject: [PATCH] Lint --- src/BaseCompiler.php | 4 ++-- src/FakesCompilation.php | 1 - src/Tex.php | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/BaseCompiler.php b/src/BaseCompiler.php index 68def13..4151b46 100644 --- a/src/BaseCompiler.php +++ b/src/BaseCompiler.php @@ -10,7 +10,7 @@ use Log; abstract class BaseCompiler implements Responsable { - public function __construct(protected ?File $file = null) + final public function __construct(protected ?File $file = null) { } @@ -49,7 +49,7 @@ abstract class BaseCompiler implements Responsable } /** - * @param array $documents + * @param array $documents */ public function merge(array $documents): self { diff --git a/src/FakesCompilation.php b/src/FakesCompilation.php index 526bf47..8c5a568 100644 --- a/src/FakesCompilation.php +++ b/src/FakesCompilation.php @@ -32,7 +32,6 @@ trait FakesCompilation /** * @param class-string $documentClass - * @param callable(Document): bool $check */ public function assertCompiledContent(string $documentClass, string $content): void { diff --git a/src/Tex.php b/src/Tex.php index 1fc4c15..b14969c 100644 --- a/src/Tex.php +++ b/src/Tex.php @@ -7,7 +7,9 @@ use Illuminate\Support\Facades\Facade; /** * @method static void assertNotCompiled(class-string $documentClass) * @method static void assertCompiled(class-string $documentClass, Closure(Document): bool $check) + * @method static void assertCompiledContent(class-string $documentClass, string $contnet) * @method static BaseCompiler compile(Document $document) + * @method static BaseCompiler merge(array $documents) */ class Tex extends Facade {