original_string: private function replace(array $data): string
      {
          $widget = explode(':', $data[1]);
          if (class_exists($class = $widget[0]) && method_exists($class, $method = $widget[1])) {
              return call_user_func([$class, $method]);
          }
  
          return '';
      }
code: private function replace(array $data): string
      {
          $widget = explode(':', $data[1]);
          if (class_exists($class = $widget[0]) && method_exists($class, $method = $widget[1])) {
              return call_user_func([$class, $method]);
          }
  
          return '';
      }
code_tokens: private function replace ( array $ data ) : string { $ widget = explode ( ':' , $ data [ 1 ] ) ; if ( class_exists ( $ class = $ widget [ 0 ] ) && method_exists ( $ class , $ method = $ widget [ 1 ] ) ) { return call_user_func ( [ $ class , $ method ] ) ; } return '' ; }
docstring: Replaces widget short code on appropriate widget
  
  @param $data
  
  @return string
docstring_tokens: Replaces widget short code on appropriate widget