Skip to content

Commit 80180e6

Browse files
author
dmitriy
committed
fixed code standards
1 parent cede1e5 commit 80180e6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Command/WaitDatabaseCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(EntityManagerInterface $em)
3838
parent::__construct('db:wait');
3939
$this->em = $em;
4040
$this->setDescription('Waits for database availability.')
41-
->setHelp('This command allows you to wait for database availability.');
41+
->setHelp('This command allows you to wait for database availability.');
4242
}
4343

4444
/**

src/DataFixtures/AppFixtures.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
namespace App\DataFixtures;
55

66
use Doctrine\Bundle\FixturesBundle\Fixture;
7-
use Doctrine\Common\Persistence\ObjectManager;
7+
use Doctrine\Persistence\ObjectManager;
88

99
class AppFixtures extends Fixture
1010
{
11-
public function load(ObjectManager $manager)
11+
public function load(ObjectManager $manager): void
1212
{
1313
// $product = new Product();
1414
// $manager->persist($product);

src/Migrations/Version20190222213409.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
*/
1313
final class Version20190222213409 extends AbstractMigration
1414
{
15-
public function getDescription() : string
15+
public function getDescription(): string
1616
{
1717
return '';
1818
}
1919

20-
public function up(Schema $schema) : void
20+
public function up(Schema $schema): void
2121
{
2222
// this up() migration is auto-generated, please modify it to your needs
2323
$this->abortIf(
@@ -46,7 +46,7 @@ public function up(Schema $schema) : void
4646
$this->addSql($sql);
4747
}
4848

49-
public function down(Schema $schema) : void
49+
public function down(Schema $schema): void
5050
{
5151
// this down() migration is auto-generated, please modify it to your needs
5252
$this->abortIf(

0 commit comments

Comments
 (0)