mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-25 20:23:49 +01:00
Strict return types to int and bool
This commit is contained in:
parent
6fad0b783e
commit
32eda23320
@ -45,7 +45,7 @@ final class FileProcessor
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
* @return int|bool
|
||||
*/
|
||||
public function processFile(SplFileInfo $fileInfo)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user