Strict return types to int and bool

This commit is contained in:
Gabriel Caruso 2017-12-28 03:58:20 -02:00
parent 6fad0b783e
commit 32eda23320
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ final class FileProcessor
}
/**
* @return mixed
* @return int|bool
*/
public function processFile(SplFileInfo $fileInfo)
{

View File

@ -22,7 +22,7 @@ final class FormatPerservingPrinter
* @param Node[] $newStmts
* @param Node[] $oldStmts
* @param Node[] $oldTokens
* @return mixed
* @return int|bool
*/
public function printToFile(SplFileInfo $fileInfo, array $newStmts, array $oldStmts, array $oldTokens)
{