Skip to content

Commit d1cffc1

Browse files
committed
document method
1 parent b5405a0 commit d1cffc1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/NewCommand.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,15 @@ protected function runCommands($commands, InputInterface $input, OutputInterface
224224
return $process;
225225
}
226226

227-
protected function replaceInFile($search, $replace, $file)
227+
/**
228+
* Replace the given string in the given file.
229+
*
230+
* @param string $search
231+
* @param string $replace
232+
* @param string $file
233+
* @return string
234+
*/
235+
protected function replaceInFile(string $search, string $replace, string $file)
228236
{
229237
file_put_contents(
230238
$file,

0 commit comments

Comments
 (0)