X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fshell%2FCommandFactory.php;h=d3e00b1896065f280be6d45682958fcfefceb3d1;hb=56f171b9586f56bd4f9eb4b0bd25859d56561c1e;hp=b4b9b921a969aa58005069236781c596dd25f028;hpb=f8b2c0222d7c3b62b22bc42f8dc5e9eda9a1db71;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 );