upgraded dependencies
This commit is contained in:
44
vendor/symfony/console/Input/InputInterface.php
vendored
44
vendor/symfony/console/Input/InputInterface.php
vendored
@@ -24,7 +24,7 @@ interface InputInterface
|
||||
/**
|
||||
* Returns the first argument from the raw parameters (not parsed).
|
||||
*
|
||||
* @return string|null The value of the first argument or null otherwise
|
||||
* @return string|null
|
||||
*/
|
||||
public function getFirstArgument();
|
||||
|
||||
@@ -39,9 +39,9 @@ interface InputInterface
|
||||
* @param string|array $values The values to look for in the raw parameters (can be an array)
|
||||
* @param bool $onlyParams Only check real parameters, skip those following an end of options (--) signal
|
||||
*
|
||||
* @return bool true if the value is contained in the raw parameters
|
||||
* @return bool
|
||||
*/
|
||||
public function hasParameterOption($values, $onlyParams = false);
|
||||
public function hasParameterOption($values, bool $onlyParams = false);
|
||||
|
||||
/**
|
||||
* Returns the value of a raw option (not parsed).
|
||||
@@ -55,9 +55,9 @@ interface InputInterface
|
||||
* @param string|bool|int|float|array|null $default The default value to return if no result is found
|
||||
* @param bool $onlyParams Only check real parameters, skip those following an end of options (--) signal
|
||||
*
|
||||
* @return mixed The option value
|
||||
* @return mixed
|
||||
*/
|
||||
public function getParameterOption($values, $default = false, $onlyParams = false);
|
||||
public function getParameterOption($values, $default = false, bool $onlyParams = false);
|
||||
|
||||
/**
|
||||
* Binds the current Input instance with the given arguments and options.
|
||||
@@ -83,32 +83,27 @@ interface InputInterface
|
||||
/**
|
||||
* Returns the argument value for a given argument name.
|
||||
*
|
||||
* @param string $name The argument name
|
||||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @throws InvalidArgumentException When argument given doesn't exist
|
||||
*/
|
||||
public function getArgument($name);
|
||||
public function getArgument(string $name);
|
||||
|
||||
/**
|
||||
* Sets an argument value by name.
|
||||
*
|
||||
* @param string $name The argument name
|
||||
* @param mixed $value The argument value
|
||||
* @param mixed $value The argument value
|
||||
*
|
||||
* @throws InvalidArgumentException When argument given doesn't exist
|
||||
*/
|
||||
public function setArgument($name, $value);
|
||||
public function setArgument(string $name, $value);
|
||||
|
||||
/**
|
||||
* Returns true if an InputArgument object exists by name or position.
|
||||
*
|
||||
* @param string $name The argument name
|
||||
*
|
||||
* @return bool true if the InputArgument object exists, false otherwise
|
||||
* @return bool
|
||||
*/
|
||||
public function hasArgument($name);
|
||||
public function hasArgument(string $name);
|
||||
|
||||
/**
|
||||
* Returns all the given options merged with the default values.
|
||||
@@ -120,32 +115,27 @@ interface InputInterface
|
||||
/**
|
||||
* Returns the option value for a given option name.
|
||||
*
|
||||
* @param string $name The option name
|
||||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @throws InvalidArgumentException When option given doesn't exist
|
||||
*/
|
||||
public function getOption($name);
|
||||
public function getOption(string $name);
|
||||
|
||||
/**
|
||||
* Sets an option value by name.
|
||||
*
|
||||
* @param string $name The option name
|
||||
* @param mixed $value The option value
|
||||
* @param mixed $value The option value
|
||||
*
|
||||
* @throws InvalidArgumentException When option given doesn't exist
|
||||
*/
|
||||
public function setOption($name, $value);
|
||||
public function setOption(string $name, $value);
|
||||
|
||||
/**
|
||||
* Returns true if an InputOption object exists by name.
|
||||
*
|
||||
* @param string $name The InputOption name
|
||||
*
|
||||
* @return bool true if the InputOption object exists, false otherwise
|
||||
* @return bool
|
||||
*/
|
||||
public function hasOption($name);
|
||||
public function hasOption(string $name);
|
||||
|
||||
/**
|
||||
* Is this input means interactive?
|
||||
@@ -156,8 +146,6 @@ interface InputInterface
|
||||
|
||||
/**
|
||||
* Sets the input interactivity.
|
||||
*
|
||||
* @param bool $interactive If the input should be interactive
|
||||
*/
|
||||
public function setInteractive($interactive);
|
||||
public function setInteractive(bool $interactive);
|
||||
}
|
||||
|
Reference in New Issue
Block a user