Browse Source

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

Sam Mettam 3 years ago
parent
commit
de6dbbf302
1 changed files with 0 additions and 3 deletions
  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'])) {