Skip to content

Commit 59500e3

Browse files
committed
Add missing return statements on the app folder
1 parent 70f8178 commit 59500e3

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

app/Console/Command/AbstractCsvImportCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ public function configure(): void
3636
abstract public function getColumnHeaders(): string;
3737

3838
/**
39-
* @inheritdoc
4039
* @throws \League\Csv\Exception
41-
* @see Command::execute()
4240
*/
43-
protected function execute(InputInterface $input, OutputInterface $output)
41+
protected function execute(InputInterface $input, OutputInterface $output): int
4442
{
4543
$csvReader = Reader::createFromPath(
4644
$input->getArgument(self::CSV_FILE_ARG)

app/Console/Command/EventAncestorsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function configure(): void
3535
);
3636
}
3737

38-
public function execute(InputInterface $input, OutputInterface $output)
38+
public function execute(InputInterface $input, OutputInterface $output): int
3939
{
4040
$cdbid = $input->getArgument('cdbid');
4141

app/Console/Command/FireProjectedToJSONLDCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function configure(): void
2929
);
3030
}
3131

32-
protected function execute(InputInterface $input, OutputInterface $output)
32+
protected function execute(InputInterface $input, OutputInterface $output): int
3333
{
3434
$this->inReplayMode(
3535
function (

app/Console/Command/FireProjectedToJSONLDForRelationsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function configure(): void
2828
->setDescription('Fires JSONLD projected events for organizers and places having relations');
2929
}
3030

31-
protected function execute(InputInterface $input, OutputInterface $output)
31+
protected function execute(InputInterface $input, OutputInterface $output): int
3232
{
3333
$connection = $this->connection;
3434

app/Migrations/Version20180108080352.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace CultuurNet\UDB3\Migrations;
66

77
use Doctrine\DBAL\Schema\Schema;
8+
use Doctrine\DBAL\Schema\Table;
89
use Doctrine\Migrations\AbstractMigration;
910

1011
class Version20180108080352 extends AbstractMigration
@@ -28,10 +29,9 @@ public function down(Schema $schema): void
2829
}
2930

3031
/**
31-
* @return \Doctrine\DBAL\Schema\Table
3232
* @throws \Doctrine\DBAL\Schema\SchemaException
3333
*/
34-
private function getLabelsRelationsTable(Schema $schema)
34+
private function getLabelsRelationsTable(Schema $schema): Table
3535
{
3636
return $schema->getTable('labels_relations');
3737
}

0 commit comments

Comments
 (0)