This commit is contained in:
Philipp Lang 2023-11-30 23:52:14 +01:00
parent 18650ba7ad
commit bbab104f7e
3 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@ use Log;
abstract class BaseCompiler implements Responsable 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<int, Documents> $documents * @param array<int, Document> $documents
*/ */
public function merge(array $documents): self public function merge(array $documents): self
{ {

View File

@ -32,7 +32,6 @@ trait FakesCompilation
/** /**
* @param class-string<Document> $documentClass * @param class-string<Document> $documentClass
* @param callable(Document): bool $check
*/ */
public function assertCompiledContent(string $documentClass, string $content): void public function assertCompiledContent(string $documentClass, string $content): void
{ {

View File

@ -7,7 +7,9 @@ use Illuminate\Support\Facades\Facade;
/** /**
* @method static void assertNotCompiled(class-string<Document> $documentClass) * @method static void assertNotCompiled(class-string<Document> $documentClass)
* @method static void assertCompiled(class-string<Document> $documentClass, Closure(Document): bool $check) * @method static void assertCompiled(class-string<Document> $documentClass, Closure(Document): bool $check)
* @method static void assertCompiledContent(class-string<Document> $documentClass, string $contnet)
* @method static BaseCompiler compile(Document $document) * @method static BaseCompiler compile(Document $document)
* @method static BaseCompiler merge(array<int, Documents> $documents)
*/ */
class Tex extends Facade class Tex extends Facade
{ {