We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5743a65 commit 0af80abCopy full SHA for 0af80ab
Tests/Command/LintCommandTest.php
@@ -100,10 +100,7 @@ public function testLintFileNotReadable()
100
$ret = $tester->execute(['filename' => $filename], ['decorated' => false]);
101
}
102
103
- /**
104
- * @return string Path to the new file
105
- */
106
- private function createFile($content)
+ private function createFile($content): string
107
{
108
$filename = tempnam(sys_get_temp_dir().'/framework-yml-lint-test', 'sf-');
109
file_put_contents($filename, $content);
0 commit comments