Skip to content

Commit 2bff45e

Browse files
authored
Command template: add void return type to configure method
1 parent c1c1386 commit 2bff45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/skeleton/command/Command.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class <?= $class_name; ?> extends Command
2525
protected static $defaultDescription = 'Add a short description for your command';
2626

2727
<?php endif; ?>
28-
protected function configure()
28+
protected function configure(): void
2929
{
3030
$this
3131
<?= $set_description ? " ->setDescription(self::\$defaultDescription)\n" : '' ?>

0 commit comments

Comments
 (0)