Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit b60730f

Browse files
committed
Trying to pass on php-cs-fixer
1 parent eec65d2 commit b60730f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Controller/Plugin/Forward.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,8 @@ protected function detachProblemListeners(SharedEvents $sharedEvents)
182182
foreach ($events as $priority => $currentPriorityEvents) {
183183
// v2 fix
184184
if (!is_array($currentPriorityEvents)) {
185-
$currentPriorityEvents = array($currentPriorityEvents);
185+
$currentPriorityEvents = [$currentPriorityEvents];
186186
}
187-
188187
// v3
189188
foreach ($currentPriorityEvents as $currentEvent) {
190189
$currentCallback = $currentEvent;

0 commit comments

Comments
 (0)