8000 cs · symfony/symfony@274e3dd · GitHub
[go: up one dir, main page]

Skip to content

Commit 274e3dd

Browse files
committed
cs
1 parent 4c2a234 commit 274e3dd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Symfony/Bridge/Doctrine/Messenger/EntityMessage/MessageRecorderTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
trait MessageRecorderTrait
2222
{
23-
private $messages = array();
23+
private $messages = [];
2424

2525
/**
2626
* {@inheritdoc}
@@ -35,7 +35,7 @@ public function getRecordedMessages(): array
3535
*/
3636
public function resetRecordedMessages(): void
3737
{
38-
$this->messages = array();
38+
$this->messages = [];
3939
}
4040

4141
/**

src/Symfony/Bridge/Doctrine/Messenger/EventSubscriber/EntityMessageCollector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ public function __construct(MessageBusInterface $messageBus)
3737

3838
public function getSubscribedEvents()
3939
{
40-
return array(
40+
return [
4141
Events::postPersist,
4242
Events::postUpdate,
4343
Events::postRemove,
44-
);
44+
];
4545
}
4646

4747
public function postPersist(LifecycleEventArgs $event)

0 commit comments

Comments
 (0)
0