diff --git a/src/Framework/ExceptionWrapper.php b/src/Framework/ExceptionWrapper.php index 4ef6aa56dc2..7bbf55136de 100644 --- a/src/Framework/ExceptionWrapper.php +++ b/src/Framework/ExceptionWrapper.php @@ -32,11 +32,6 @@ class ExceptionWrapper extends Exception * @var ExceptionWrapper|null */ protected $previous; - - /** - * @var Throwable - */ - protected $originalException; /** * @param Throwable $t @@ -50,7 +45,6 @@ public function __construct(Throwable $t) $this->className = \get_class($t); $this->file = $t->getFile(); $this->line = $t->getLine(); - $this->originalException = $t; $this->serializableTrace = $t->getTrace(); @@ -70,14 +64,6 @@ public function getClassName() { return $this->className; } - - /** - * @return Throwable - */ - public function getOriginalException() - { - return $this->originalException; - } /** * @return ExceptionWrapper