瀏覽代碼

Removed the check that prevented GET endpoint handlers from supporting the @bodyParams annotation.

Sam Mettam 3 年之前
父節點
當前提交
de6dbbf302
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/Extracting/Extractor.php

+ 0 - 3
src/Extracting/Extractor.php

@@ -161,9 +161,6 @@ class Extractor
 
     protected function fetchBodyParameters(ExtractedEndpointData $endpointData, array $rulesToApply): void
     {
-        if (in_array('GET', $endpointData->httpMethods)) {
-            return;
-        }
         $this->iterateThroughStrategies('bodyParameters', $endpointData, $rulesToApply, function ($results) use ($endpointData) {
             foreach ($results as $key => $item) {
                 if (empty($item['name'])) {