Skip to content

Commit fb31154

Browse files
authored
Merge pull request #1317 from kaznovac/patch-1
PSR-14: PSR12 compliant code formatting
2 parents c85509e + c04ebc6 commit fb31154

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

accepted/PSR-14-event-dispatcher.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ interface ListenerProviderInterface
147147
* An iterable (array, iterator, or generator) of callables. Each
148148
* callable MUST be type-compatible with $event.
149149
*/
150-
public function getListenersForEvent(object $event) : iterable;
150+
public function getListenersForEvent(object $event): iterable;
151151
}
152152
```
153153

@@ -173,6 +173,6 @@ interface StoppableEventInterface
173173
* True if the Event is complete and no further listeners should be called.
174174
* False to continue calling listeners.
175175
*/
176-
public function isPropagationStopped() : bool;
176+
public function isPropagationStopped(): bool;
177177
}
178178
```

0 commit comments

Comments
 (0)