Explorar o código

Update camel/Extraction/ExtractedEndpointData.php

Shalvah %!s(int64=3) %!d(string=hai) anos
pai
achega
5993e2debc
Modificáronse 1 ficheiros con 1 adicións e 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 {