Skip to content

Commit d54ad69

Browse files
committed
Update return type of the command configure method
1 parent 75ae56b commit d54ad69

File tree

12 files changed

+11
-22
lines changed

12 files changed

+11
-22
lines changed

lib/Doctrine/ODM/MongoDB/Tools/Console/Command/ClearCache/MetadataCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ class MetadataCommand extends Command
2222
{
2323
use CommandCompatibility;
2424

25-
/** @return void */
26-
protected function configure()
25+
protected function configure(): void
2726
{
2827
$this
2928
->setName('odm:clear-cache:metadata')

lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateHydratorsCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ class GenerateHydratorsCommand extends Command
3131
{
3232
use CommandCompatibility;
3333

34-
/** @return void */
35-
protected function configure()
34+
protected function configure(): void
3635
{
3736
$this
3837
->setName('odm:generate:hydrators')

lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GeneratePersistentCollectionsCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ class GeneratePersistentCollectionsCommand extends Command
3131
{
3232
use CommandCompatibility;
3333

34-
/** @return void */
35-
protected function configure()
34+
protected function configure(): void
3635
{
3736
$this
3837
->setName('odm:generate:persistent-collections')

lib/Doctrine/ODM/MongoDB/Tools/Console/Command/GenerateProxiesCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ class GenerateProxiesCommand extends Command
3535
{
3636
use CommandCompatibility;
3737

38-
/** @return void */
39-
protected function configure()
38+
protected function configure(): void
4039
{
4140
$this
4241
->setName('odm:generate:proxies')

lib/Doctrine/ODM/MongoDB/Tools/Console/Command/QueryCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ class QueryCommand extends Command
2727
{
2828
use CommandCompatibility;
2929

30-
/** @return void */
31-
protected function configure()
30+
protected function configure(): void
3231
{
3332
$this
3433
->setName('odm:query')

lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/AbstractCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ abstract class AbstractCommand extends Command
2424
public const INDEX = 'index';
2525
public const SEARCH_INDEX = 'search-index';
2626

27-
/** @return void */
28-
protected function configure()
27+
protected function configure(): void
2928
{
3029
parent::configure();
3130

lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/CreateCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ class CreateCommand extends AbstractCommand
3030
self::SEARCH_INDEX => ['search index(es)', 'search indexes'],
3131
];
3232

33-
/** @return void */
34-
protected function configure()
33+
protected function configure(): void
3534
{
3635
parent::configure();
3736

lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/DropCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ class DropCommand extends AbstractCommand
3131
self::SEARCH_INDEX => ['search index(es)', 'search indexes'],
3232
];
3333

34-
/** @return void */
35-
protected function configure()
34+
protected function configure(): void
3635
{
3736
parent::configure();
3837

lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/ShardCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ class ShardCommand extends AbstractCommand
1919
{
2020
use CommandCompatibility;
2121

22-
/** @return void */
23-
protected function configure()
22+
protected function configure(): void
2423
{
2524
parent::configure();
2625

lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/UpdateCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ class UpdateCommand extends AbstractCommand
1919
{
2020
use CommandCompatibility;
2121

22-
/** @return void */
23-
protected function configure()
22+
protected function configure(): void
2423
{
2524
parent::configure();
2625

0 commit comments

Comments
 (0)