Parcourir la source

Update camel/Extraction/ExtractedEndpointData.php

Shalvah il y a 3 ans
Parent
commit
5993e2debc
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 {