We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 084cd70 commit bbefc69Copy full SHA for bbefc69
1 file changed
tests/generator/CodeGeneratorTest.php
@@ -146,7 +146,7 @@ public function testMethodReturnTypeHinting() {
146
}
147
148
public function testStrictTypesDeclaration() {
149
- $expected = "<?php\ndeclare(strict_types=1);\nfunction fn(\$a) {\n}\n";
+ $expected = "<?php\ndeclare(strict_types=1);\n\nfunction fn(\$a) {\n}\n";
150
$fn = PhpFunction::create('fn')->addParameter(PhpParameter::create('a')->setType('int'));
151
$fn->setType('int');
152
0 commit comments