Skip to content

Commit

Permalink
Fixes #907: api:applications:environment-create breaks if provides al…
Browse files Browse the repository at this point in the history
…l arguments/options.. (#908)
  • Loading branch information
grasmash authored Apr 14, 2022
1 parent 222adc8 commit 85a10e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/Api/ApiCommandBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,11 @@ protected function getParamFromInput(InputInterface $input, string $param_name)

/**
* @param array $param_spec
* @param string $value
* @param string|array $value
*
* @return bool|int|string
*/
protected function castParamType(array $param_spec, string $value) {
protected function castParamType(array $param_spec, $value) {
$type = $this->getParamType($param_spec);
if (!$type) {
return $value;
Expand Down

0 comments on commit 85a10e3

Please sign in to comment.