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 {