private function get_tags(string $block){
    preg_match_all($this->pattern['tag'], $block, $tags, PREG_OFFSET_CAPTURE);
    if ( !empty($tags[0]) ){
      return $tags[0];
    }
    return [];
  }
private function get_tags(string $block){
    preg_match_all($this->pattern['tag'], $block, $tags, PREG_OFFSET_CAPTURE);
    if ( !empty($tags[0]) ){
      return $tags[0];
    }
    return [];
  }
private function get_tags ( string $ block ) { preg_match_all ( $ this -> pattern [ 'tag' ] , $ block , $ tags , PREG_OFFSET_CAPTURE ) ; if ( ! empty ( $ tags [ 0 ] ) ) { return $ tags [ 0 ] ; } return [ ] ; }
Gets te tags list of a docblock

@param string $block The docblock
@return array
Gets te tags list of a docblock