File "InvalidComparisonMethodException.php"
Full Path: /home/elegucvf/public_html/video/wp-content/plugins/one-click-demo-import/vendor/yoast/phpunit-polyfills/src/Exceptions/InvalidComparisonMethodException.php
File size: 540 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Yoast\PHPUnitPolyfills\Exceptions;
use Exception;
/**
* Exception used for all errors throw by the polyfill for the `assertObjectEquals()` assertion.
*
* PHPUnit natively throws a range of different exceptions.
* The polyfill throws just one exception type with different messages.
*/
final class InvalidComparisonMethodException extends Exception {
/**
* Convert the Exception object to a string message.
*
* @return string
*/
public function __toString() {
return $this->getMessage() . \PHP_EOL;
}
}