X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fshell%2FCommandFactory.php;h=d3e00b1896065f280be6d45682958fcfefceb3d1;hb=ae21a5d3c872ec0be09c7b23435961dfc0b60a63;hp=b4b9b921a969aa58005069236781c596dd25f028;hpb=cb20bab28c37cd84f6489e13fe51d4632885e9df;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/shell/CommandFactory.php b/includes/shell/CommandFactory.php index b4b9b921a9..d3e00b1896 100644 --- a/includes/shell/CommandFactory.php +++ b/includes/shell/CommandFactory.php @@ -97,7 +97,7 @@ class CommandFactory { * * @return Command */ - public function create() { + public function create(): Command { if ( $this->restrictionMethod === 'firejail' ) { $command = new FirejailCommand( $this->findFirejail() ); $command->restrict( Shell::RESTRICT_DEFAULT );