Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/Collector/MigrationsCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
$this->flattener = $migrationsFlattener;
}

/** @return void */

Check failure on line 33 in src/Collector/MigrationsCollector.php

View workflow job for this annotation

GitHub Actions / Coding Standards / Coding Standards (PHP: 8.5)

Method \Doctrine\Bundle\MigrationsBundle\Collector\MigrationsCollector::collect() has useless @return annotation.
public function collect(Request $request, Response $response, ?Throwable $exception = null)
public function collect(Request $request, Response $response, ?Throwable $exception = null): void

Check failure on line 34 in src/Collector/MigrationsCollector.php

View workflow job for this annotation

GitHub Actions / Coding Standards / Coding Standards (PHP: 8.5)

Method \Doctrine\Bundle\MigrationsBundle\Collector\MigrationsCollector::collect() does not need documentation comment.
{
if ($this->data !== []) {
return;
Expand Down Expand Up @@ -76,8 +76,8 @@
$this->data['namespaces'] = $configuration->getMigrationDirectories();
}

/** @return string */

Check failure on line 79 in src/Collector/MigrationsCollector.php

View workflow job for this annotation

GitHub Actions / Coding Standards / Coding Standards (PHP: 8.5)

Method \Doctrine\Bundle\MigrationsBundle\Collector\MigrationsCollector::getName() has useless @return annotation.
public function getName()
public function getName(): string

Check failure on line 80 in src/Collector/MigrationsCollector.php

View workflow job for this annotation

GitHub Actions / Coding Standards / Coding Standards (PHP: 8.5)

Method \Doctrine\Bundle\MigrationsBundle\Collector\MigrationsCollector::getName() does not need documentation comment.
{
return 'doctrine_migrations';
}
Expand All @@ -88,8 +88,7 @@
return $this->data;
}

/** @return void */
public function reset()
public function reset(): void
{
$this->data = [];
}
Expand Down
Loading