Skip to content

Commit

Permalink
fix: Remove the deprecation layer (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry authored Oct 29, 2023
1 parent db657d3 commit 58fbdcd
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/IO.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,30 +294,4 @@ public function getTypedOption(string $name): TypedInput
$name,
);
}

/**
* @param non-empty-string $name
*/
public function getArgument(string $name): TypedInput
{
Deprecation::trigger(
'::getArgument() will be reverted to return the traditional Symfony argument raw value. Use ::getTypedArgument() instead.',
'0.6.0',
);

return $this->getTypedArgument($name);
}

/**
* @param non-empty-string $name
*/
public function getOption(string $name): TypedInput
{
Deprecation::trigger(
'::getArgument() will be reverted to return the traditional Symfony argument raw value. Use ::getTypedArgument() instead.',
'0.6.0',
);

return $this->getTypedOption($name);
}
}

0 comments on commit 58fbdcd

Please sign in to comment.