瀏覽代碼

Update camel/Extraction/ExtractedEndpointData.php

Shalvah 3 年之前
父節點
當前提交
5993e2debc
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {