public function processFileMethods(array $methods, string $file)
    {
        foreach ($methods as $name => $method) {
            if (is_null($method['docblock'])) {
                $this->errors[] = [
                    'type' => 'method',
                    'file' => $file,
                    'class' => $name,
                    'method' => $name,
                    'line' => $method['line'],
                ];
            }
        }
    }