| 1 | <?php |
||
| 7 | class RewriteHtaccessFile extends AbstractSubCommand |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @return bool |
||
|
|
|||
| 11 | */ |
||
| 12 | public function execute() |
||
| 30 | |||
| 31 | protected function replaceHtaccessFile() |
||
| 40 | |||
| 41 | protected function _backupOriginalFile($htaccesFile) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param string $htaccessFile |
||
| 51 | * @param string $baseUrl |
||
| 52 | */ |
||
| 53 | protected function _replaceContent($htaccessFile, $baseUrl) |
||
| 59 | } |
||
| 60 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.