소스 검색

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'])) {