Skip to content
Snippets Groups Projects

Automated Project Update Bot fixes

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -51,7 +51,7 @@ class OrderCompleteSubscriber implements EventSubscriberInterface {
@@ -51,7 +51,7 @@ class OrderCompleteSubscriber implements EventSubscriberInterface {
* @return events
* @return events
* Description of the return value, which is a events.
* Description of the return value, which is a events.
*/
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents(): array {
$events['commerce_order.place.post_transition'] = ['orderCompleteHandler'];
$events['commerce_order.place.post_transition'] = ['orderCompleteHandler'];
return $events;
return $events;
}
}
Loading