We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
LogicException
1 parent 6741943 commit f41ceddCopy full SHA for f41cedd
1 file changed
src/Parameters/ParameterReflection.php
@@ -216,8 +216,11 @@ private static function analyzeDefaultValue(ReflectionParameter $reflection)
216
try {
217
return $reflection->getDefaultValue();
218
} catch (ReflectionException $exception) {
219
- throw new LogicException('Failed to get parameter default value. This should never happen.',
220
- $exception);
+ throw new LogicException(
+ 'Failed to get parameter default value. This should never happen.',
221
+ 0,
222
+ $exception
223
+ );
224
}
225
226
0 commit comments