aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 13:51:56 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 13:51:56 +0100
commit3725e155b3454acf5501fa4dc4402ba96e5f63e8 (patch)
treed94bad07b931a4e9fc767cea785b7d2d1658334a
parent83cf7be2a54a11cd804edae81cff75f2e3f7ad26 (diff)
downloadTest-3725e155b3454acf5501fa4dc4402ba96e5f63e8.zip
Test-3725e155b3454acf5501fa4dc4402ba96e5f63e8.tar.gz
Test-3725e155b3454acf5501fa4dc4402ba96e5f63e8.tar.bz2
chore(php) Fix types according to `hoa/console`.
-rw-r--r--Bin/Run.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Bin/Run.php b/Bin/Run.php
index b1c3627..a548963 100644
--- a/Bin/Run.php
+++ b/Bin/Run.php
@@ -436,11 +436,8 @@ class Processus extends Console\Processus
{
/**
* Avoid to escape the command.
- *
- * @param string $command Command name.
- * @return string
*/
- protected function setCommand($command)
+ protected function setCommand(string $command): ?string
{
$old = $this->getCommand();
$this->_command = $command;