Skip to content

Commit bbefc69

Browse files
author
Robin Geuze
committed
Fix test
1 parent 084cd70 commit bbefc69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/generator/CodeGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function testMethodReturnTypeHinting() {
146146
}
147147

148148
public function testStrictTypesDeclaration() {
149-
$expected = "<?php\ndeclare(strict_types=1);\nfunction fn(\$a) {\n}\n";
149+
$expected = "<?php\ndeclare(strict_types=1);\n\nfunction fn(\$a) {\n}\n";
150150
$fn = PhpFunction::create('fn')->addParameter(PhpParameter::create('a')->setType('int'));
151151
$fn->setType('int');
152152

0 commit comments

Comments
 (0)