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
thrownewException('The parameter `$' . $param->getName() . '` on method ' . $this->getMethodFullName($param->getDeclaringFunction()) . ' is type hinted as `array` and is not overriden via `@API\Argument` annotation. Either change the type hint or specify the type with `@API\Argument` annotation.');
290
+
thrownewException('The parameter `$' . $param->getName() . '` on method ' . $this->getMethodFullName($param->getDeclaringFunction()) . ' is type hinted as `array` and is not overridden via `@API\Argument` annotation. Either change the type hint or specify the type with `@API\Argument` annotation.');
291
291
}
292
292
}
293
293
@@ -319,13 +319,13 @@ private function getTargetEntity(string $fieldName): ?string
319
319
* Returns a type from our registry
320
320
*
321
321
* @param string $type
322
-
* @param bool $isEntityid
322
+
* @param bool $isEntityId
323
323
*
324
324
* @return Type
325
325
*/
326
-
privatefunctiongetTypeFromRegistry(string$type, bool$isEntityid): Type
326
+
privatefunctiongetTypeFromRegistry(string$type, bool$isEntityId): Type
327
327
{
328
-
if (!$this->types->isEntity($type) || !$isEntityid) {
328
+
if (!$this->types->isEntity($type) || !$isEntityId) {
329
329
return$this->types->get($type);
330
330
}
331
331
@@ -354,6 +354,7 @@ protected function nonNullIfHasDefault(ReflectionParameter $param, ?Type $type):
0 commit comments