original_string: protected function isTypeMatched($class, array $arguments)/*# : bool */
      {
          if (empty($arguments)) {
              return false;
          } elseif (null !== $class) {
              return is_a($arguments[0], $class->getName());
          } else {
              return true;
          }
      }
code: protected function isTypeMatched($class, array $arguments)/*# : bool */
      {
          if (empty($arguments)) {
              return false;
          } elseif (null !== $class) {
              return is_a($arguments[0], $class->getName());
          } else {
              return true;
          }
      }
code_tokens: protected function isTypeMatched ( $ class , array $ arguments ) /*# : bool */ { if ( empty ( $ arguments ) ) { return false ; } elseif ( null !== $ class ) { return is_a ( $ arguments [ 0 ] , $ class -> getName ( ) ) ; } else { return true ; } }
docstring: Try best to guess parameter and argument are the same type
  
  @param  null|\ReflectionClass $class
  @param  array $arguments
  @return bool
  @access protected
docstring_tokens: Try best to guess parameter and argument are the same type