original_string: public static function typeMisMatch($expected, $actual)
      {
          return new static(
              sprintf(
                  'Expected: "%s" Received: "%s"',
                  $expected,
                  is_object($actual) ? get_class($actual) : gettype($actual)
              )
          );
      }
code: public static function typeMisMatch($expected, $actual)
      {
          return new static(
              sprintf(
                  'Expected: "%s" Received: "%s"',
                  $expected,
                  is_object($actual) ? get_class($actual) : gettype($actual)
              )
          );
      }
code_tokens: public static function typeMisMatch ( $ expected , $ actual ) { return new static ( sprintf ( 'Expected: "%s" Received: "%s"' , $ expected , is_object ( $ actual ) ? get_class ( $ actual ) : gettype ( $ actual ) ) ) ; }
docstring: Static constructor to create from the expected type & the actual value.
  
  @param string $expected
  @param mixed $actual
  @return static
docstring_tokens: Static constructor to create from the expected type & the actual value .