From b6baeef32f8b41466ea1678616956678010398c0 Mon Sep 17 00:00:00 2001 From: "Jaisser J. Sanguino" Date: Mon, 16 Mar 2026 06:25:09 -0300 Subject: [PATCH] style(Synapsis): Wrap long exception message for readability --- src/Libs/Synapsis.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Libs/Synapsis.php b/src/Libs/Synapsis.php index 4231981..1ef6325 100644 --- a/src/Libs/Synapsis.php +++ b/src/Libs/Synapsis.php @@ -148,7 +148,9 @@ class Synapsis $paramType = $parameter->getType(); if ($paramType === null) { // If no type is declared, and it's not optional, we cannot resolve it. - throw new Exception("Untyped parameter '{$parameter}' expect at least a default value or must be optional."); + throw new Exception( + "Untyped parameter '{$parameter}' expect at least a default value or must be optional." + ); } if ($paramType->isBuiltin()) {