@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | Event::on( |
| 108 | 108 | ProductTypes::class, |
| 109 | 109 | ProductTypes::EVENT_AFTER_SAVE_PRODUCTTYPE, |
| 110 | - function (ProductTypeEvent $event) { |
|
| 110 | + function(ProductTypeEvent $event) { |
|
| 111 | 111 | Craft::debug( |
| 112 | 112 | 'ProductTypes::EVENT_AFTER_SAVE_PRODUCTTYPE', |
| 113 | 113 | __METHOD__ |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | // Commerce Product Types sidebar |
| 164 | 164 | $commerce = CommercePlugin::getInstance(); |
| 165 | 165 | if ($commerce !== null) { |
| 166 | - Seomatic::$view->hook('cp.commerce.product.edit.details', function (&$context) { |
|
| 166 | + Seomatic::$view->hook('cp.commerce.product.edit.details', function(&$context) { |
|
| 167 | 167 | $html = ''; |
| 168 | 168 | Seomatic::$view->registerAssetBundle(SeomaticAsset::class); |
| 169 | 169 | /** @var $product Product */ |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | BaseEvent::on( |
| 105 | 105 | CalendarsService::class, |
| 106 | 106 | CalendarsService::EVENT_AFTER_SAVE, |
| 107 | - function (SaveModelEvent $event) { |
|
| 107 | + function(SaveModelEvent $event) { |
|
| 108 | 108 | Craft::debug( |
| 109 | 109 | 'CalendarsService::EVENT_AFTER_SAVE', |
| 110 | 110 | __METHOD__ |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | BaseEvent::on( |
| 130 | 130 | CalendarsService::class, |
| 131 | 131 | CalendarsService::EVENT_AFTER_DELETE, |
| 132 | - function (SaveModelEvent $event) { |
|
| 132 | + function(SaveModelEvent $event) { |
|
| 133 | 133 | Craft::debug( |
| 134 | 134 | 'CalendarsService::EVENT_AFTER_DELETE', |
| 135 | 135 | __METHOD__ |