Skip to content

Commit 0af80ab

Browse files
committed
Turned return type annotations of private methods into php return types.
1 parent 5743a65 commit 0af80ab

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Tests/Command/LintCommandTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,7 @@ public function testLintFileNotReadable()
100100
$ret = $tester->execute(['filename' => $filename], ['decorated' => false]);
101101
}
102102

103-
/**
104-
* @return string Path to the new file
105-
*/
106-
private function createFile($content)
103+
private function createFile($content): string
107104
{
108105
$filename = tempnam(sys_get_temp_dir().'/framework-yml-lint-test', 'sf-');
109106
file_put_contents($filename, $content);

0 commit comments

Comments
 (0)