Skip to content

Commit

Permalink
Drop obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed May 10, 2023
1 parent 63906ed commit ca13db0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Factory/OutputFieldsConfigurationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ private function completeFieldArguments(Field $field, ReflectionMethod $method,
*/
private function completeArgumentFromTypeHint(Argument $arg, ReflectionMethod $method, ReflectionParameter $param, DocBlockReader $docBlock): void
{
if (!$arg->getName()) {
$arg->setName($param->getName());
}

if (!$arg->getDescription()) {
$arg->setDescription($docBlock->getParameterDescription($param));
}
Expand Down

0 comments on commit ca13db0

Please sign in to comment.