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'],
                ];
            }
        }
    }
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'],
                ];
            }
        }
    }
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' ] , ] ; } } }
Process methods.

@param array $methods
@param string $file
Process methods .