aboutsummaryrefslogtreecommitdiffstats
path: root/includes/shell/CommandFactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/shell/CommandFactory.php')
-rw-r--r--includes/shell/CommandFactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/shell/CommandFactory.php b/includes/shell/CommandFactory.php
index b4b9b921a969..d3e00b189606 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 );