We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 731c22d + 2fcadeb commit 99264f9Copy full SHA for 99264f9
README.md
@@ -107,9 +107,13 @@ use yii\base\Event;
107
use craft\webhooks\Plugin as Webhooks;
108
use craft\events\RegisterComponentTypesEvent;
109
110
-Event::on(Webhooks::class, Webhooks::EVENT_REGISTER_FILTER_TYPES, function(RegisterComponentTypesEvent $e) {
111
- $e->types[] = ArticleFilter::class;
112
-});
+Event::on(
+ Webhooks::class,
+ Webhooks::EVENT_REGISTER_FILTER_TYPES,
113
+ function(RegisterComponentTypesEvent $event) {
114
+ $event->types[] = ArticleFilter::class;
115
+ }
116
+);
117
```
118
119
Filter type classes must implement `craft\webhooks\filters\FilterInterface`:
0 commit comments