From 55181f9702a8a76c2730a616bd75040b71f68d6a Mon Sep 17 00:00:00 2001 From: Aleksey Polyvanyi Date: Thu, 9 Sep 2021 10:41:41 +0300 Subject: [PATCH] -catch UnexpectedCallException --- src/Prophecy/Exception/Call/UnexpectedCallException.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Prophecy/Exception/Call/UnexpectedCallException.php b/src/Prophecy/Exception/Call/UnexpectedCallException.php index 48ed22542..caeaa3052 100644 --- a/src/Prophecy/Exception/Call/UnexpectedCallException.php +++ b/src/Prophecy/Exception/Call/UnexpectedCallException.php @@ -11,10 +11,11 @@ namespace Prophecy\Exception\Call; +use Prophecy\Exception\Prediction\PredictionException; use Prophecy\Exception\Prophecy\ObjectProphecyException; use Prophecy\Prophecy\ObjectProphecy; -class UnexpectedCallException extends ObjectProphecyException +class UnexpectedCallException extends ObjectProphecyException implements PredictionException { private $methodName; private $arguments;