You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewRuntimeException(\sprintf('Parameter attribute on property "%s" must target itself or have no explicit property. Got "property: \'%s\'" instead.', $reflectionProperty->getName(), $parameter->getProperty()));
486
+
$propertyName = $reflectionProperty->getName();
487
+
$key = $parameter->getKey() ?? $propertyName;
488
+
489
+
if (null === $parameterPropertyName = $parameter->getProperty()) {
thrownewRuntimeException(\sprintf('Parameter attribute on property "%s" must target itself or have no explicit property. Got "property: \'%s\'" instead.', $propertyName, $parameterPropertyName));
493
+
}
494
+
495
+
if (null === $parameterProperties = $parameter->getProperties()) {
thrownewRuntimeException(\sprintf('Parameter attribute on property "%s" must target itself or have no explicit properties. Got "properties: [%s]" instead.', $propertyName, implode(', ', $parameterProperties)));
$this->expectExceptionMessage('Parameter attribute on property "name" must target itself or have no explicit properties. Got "properties: [description]" instead.');
0 commit comments