From ec8577e883c9ef90ab492c6c837c55d3d18134a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20PLANCHAT?= Date: Tue, 10 Dec 2024 17:29:19 +0100 Subject: [PATCH] Update Transformer.php --- src/Builder/Transformer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Builder/Transformer.php b/src/Builder/Transformer.php index 4303cad..8da4771 100644 --- a/src/Builder/Transformer.php +++ b/src/Builder/Transformer.php @@ -156,7 +156,7 @@ class: new Node\Name\FullyQualified( 'getMessage' ), ), - new Node\Expr\ConstFetch( + new Node\Arg( new Node\Expr\Variable('exception'), ), new Node\Arg(