Skip to content

Commit 42fa53a

Browse files
committed
Fix self reference
1 parent 9f09dcf commit 42fa53a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Phug/CompilerInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function getParentCompiler();
4343
*
4444
* @return $this
4545
*/
46-
public function setParentCompiler(CompilerInterface $compiler);
46+
public function setParentCompiler(self $compiler);
4747

4848
/**
4949
* @param $path

tests/Phug/CompilerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ public function testIncludesOption()
484484

485485
self::assertSame('<html><head><title>My Application</title></head><body><p>bar</p></body></html>', $html);
486486
}
487+
487488
/**
488489
* @covers ::getParentCompiler
489490
* @covers ::setParentCompiler

0 commit comments

Comments
 (0)