Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 274e3dd

Browse filesBrowse files
committed
cs
1 parent 4c2a234 commit 274e3dd
Copy full SHA for 274e3dd

File tree

2 files changed

+4
-4
lines changed
Filter options

2 files changed

+4
-4
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Messenger/EntityMessage/MessageRecorderTrait.php
+2-2Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Messenger/EventSubscriber/EntityMessageCollector.php
+2-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.