Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
36 | public function run(File\FindReplace $findReplace): void |
||
37 | { |
||
38 | $file = $findReplace->getFile(); |
||
39 | $contents = $file->getContents(); |
||
40 | $contents = $this->codeHelper->replaceTypeHintsInContents( |
||
41 | $contents, |
||
|
|||
42 | $this->phpType, |
||
43 | $this->mappingHelperType, |
||
44 | $this->nullable |
||
45 | ); |
||
46 | $file->setContents($contents); |
||
47 | } |
||
49 |