lib/commands/ToolsController.php
public function fixDocBlockPlaceholder($file, &$contents)
    {
        $changed = false;
        foreach ($contents as $lineNumber => $line) {
            $line = trim($line);
            if (substr($line, 0, 1) === '*' || substr($line, 0, 1) === '/') {
                if (strpos($line, '@doctodo write class description') !== false) {
                    unset($contents[$lineNumber]);
                    $changed = true;
                }
            }
        }

        return $changed;
    }
public function fixDocBlockPlaceholder($file, &$contents)
    {
        $changed = false;
        foreach ($contents as $lineNumber => $line) {
            $line = trim($line);
            if (substr($line, 0, 1) === '*' || substr($line, 0, 1) === '/') {
                if (strpos($line, '@doctodo write class description') !== false) {
                    unset($contents[$lineNumber]);
                    $changed = true;
                }
            }
        }

        return $changed;
    }
Removes the old @doctodo.

@param string     $file     file name of the file being checked
@param array $contents array of the file contents

@return bool if the file was changed