protected function getDataToValidate() : array
    {
        $data = array_merge($this->argument(), $this->option());

        return array_filter($data, function ($value) {
            return $value !== null;
        });
    }
protected function getDataToValidate() : array
    {
        $data = array_merge($this->argument(), $this->option());

        return array_filter($data, function ($value) {
            return $value !== null;
        });
    }
protected function getDataToValidate ( ) : array { $ data = array_merge ( $ this -> argument ( ) , $ this -> option ( ) ) ; return array_filter ( $ data , function ( $ value ) { return $ value !== null ; } ) ; }
Retrieve the data to validate

@return array
Retrieve the data to validate