Explorar el Código

Update camel/Extraction/ExtractedEndpointData.php

Shalvah hace 3 años
padre
commit
5993e2debc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      camel/Extraction/ExtractedEndpointData.php

+ 1 - 1
camel/Extraction/ExtractedEndpointData.php

@@ -267,7 +267,7 @@ class ExtractedEndpointData extends BaseDTO
     protected function argumentHasModelType(\ReflectionParameter $argument): bool
     {
         $argumentType = $argument->getType();
-        if (!$argumentType instanceof \ReflectionNamedType) {
+        if (!($argumentType instanceof \ReflectionNamedType)) {
             // The argument does not have a type-hint
             return false;
         } else {