@@ -24,7 +24,7 @@ |
||
24 | 24 | 'name' => 'General', |
25 | 25 | 'description' => 'Script Tags', |
26 | 26 | 'handle' => ScriptService::GENERAL_HANDLE, |
27 | - 'class' => (string)MetaScriptContainer::class, |
|
27 | + 'class' => (string) MetaScriptContainer::class, |
|
28 | 28 | 'include' => true, |
29 | 29 | 'dependencies' => [ |
30 | 30 | ], |
@@ -19,11 +19,11 @@ |
||
19 | 19 | */ |
20 | 20 | |
21 | 21 | return [ |
22 | - MetaTitleContainer::CONTAINER_TYPE . TitleService::GENERAL_HANDLE => [ |
|
22 | + MetaTitleContainer::CONTAINER_TYPE.TitleService::GENERAL_HANDLE => [ |
|
23 | 23 | 'name' => 'General', |
24 | 24 | 'description' => 'Meta Title Tag', |
25 | 25 | 'handle' => TitleService::GENERAL_HANDLE, |
26 | - 'class' => (string)MetaTitleContainer::class, |
|
26 | + 'class' => (string) MetaTitleContainer::class, |
|
27 | 27 | 'include' => true, |
28 | 28 | 'dependencies' => [ |
29 | 29 | ], |
@@ -19,11 +19,11 @@ |
||
19 | 19 | */ |
20 | 20 | |
21 | 21 | return [ |
22 | - MetaJsonLdContainer::CONTAINER_TYPE . JsonLdService::GENERAL_HANDLE => [ |
|
22 | + MetaJsonLdContainer::CONTAINER_TYPE.JsonLdService::GENERAL_HANDLE => [ |
|
23 | 23 | 'name' => 'General', |
24 | 24 | 'description' => 'JsonLd Tags', |
25 | 25 | 'handle' => JsonLdService::GENERAL_HANDLE, |
26 | - 'class' => (string)MetaJsonLdContainer::class, |
|
26 | + 'class' => (string) MetaJsonLdContainer::class, |
|
27 | 27 | 'include' => true, |
28 | 28 | 'dependencies' => [ |
29 | 29 | ], |
@@ -24,7 +24,7 @@ |
||
24 | 24 | 'name' => 'General', |
25 | 25 | 'description' => 'Link Tags', |
26 | 26 | 'handle' => LinkService::GENERAL_HANDLE, |
27 | - 'class' => (string)MetaLinkContainer::class, |
|
27 | + 'class' => (string) MetaLinkContainer::class, |
|
28 | 28 | 'include' => true, |
29 | 29 | 'dependencies' => [ |
30 | 30 | ], |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | 'name' => 'General', |
25 | 25 | 'description' => 'General Meta Tags', |
26 | 26 | 'handle' => TagService::GENERAL_HANDLE, |
27 | - 'class' => (string)MetaTagContainer::class, |
|
27 | + 'class' => (string) MetaTagContainer::class, |
|
28 | 28 | 'include' => true, |
29 | 29 | 'dependencies' => [ |
30 | 30 | ], |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | 'name' => 'Facebook', |
36 | 36 | 'description' => 'Facebook OpenGraph Meta Tags', |
37 | 37 | 'handle' => TagService::FACEBOOK_HANDLE, |
38 | - 'class' => (string)MetaTagContainer::class, |
|
38 | + 'class' => (string) MetaTagContainer::class, |
|
39 | 39 | 'include' => true, |
40 | 40 | 'dependencies' => [ |
41 | 41 | ], |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | 'name' => 'Twitter', |
47 | 47 | 'description' => 'Twitter Card Meta Tags', |
48 | 48 | 'handle' => TagService::TWITTER_HANDLE, |
49 | - 'class' => (string)MetaTagContainer::class, |
|
49 | + 'class' => (string) MetaTagContainer::class, |
|
50 | 50 | 'include' => true, |
51 | 51 | 'dependencies' => [ |
52 | 52 | ], |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | 'name' => 'Miscellaneous', |
58 | 58 | 'description' => 'Miscellaneous Meta Tags', |
59 | 59 | 'handle' => TagService::MISC_HANDLE, |
60 | - 'class' => (string)MetaTagContainer::class, |
|
60 | + 'class' => (string) MetaTagContainer::class, |
|
61 | 61 | 'include' => true, |
62 | 62 | 'dependencies' => [ |
63 | 63 | ], |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | Event::on( |
106 | 106 | CampaignTypesService::class, |
107 | 107 | CampaignTypesService::EVENT_AFTER_SAVE_CAMPAIGN_TYPE, |
108 | - function (CampaignTypeEvent $event) { |
|
108 | + function(CampaignTypeEvent $event) { |
|
109 | 109 | Craft::debug( |
110 | 110 | 'CampaignTypesService::EVENT_AFTER_SAVE_CAMPAIGN_TYPE', |
111 | 111 | __METHOD__ |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | Event::on( |
117 | 117 | CampaignTypesService::class, |
118 | 118 | CampaignTypesService::EVENT_AFTER_DELETE_CAMPAIGN_TYPE, |
119 | - function (CampaignTypeEvent $event) { |
|
119 | + function(CampaignTypeEvent $event) { |
|
120 | 120 | Craft::debug( |
121 | 121 | 'CampaignTypesService::EVENT_AFTER_DELETE_CAMPAIGN_TYPE', |
122 | 122 | __METHOD__ |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | Event::on( |
132 | 132 | CampaignTypesService::class, |
133 | 133 | CampaignTypesService::EVENT_AFTER_SAVE_CAMPAIGN_TYPE, |
134 | - function (CampaignTypeEvent $event) { |
|
134 | + function(CampaignTypeEvent $event) { |
|
135 | 135 | Craft::debug( |
136 | 136 | 'CampaignTypesService::EVENT_AFTER_SAVE_CAMPAIGN_TYPE', |
137 | 137 | __METHOD__ |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | Event::on( |
155 | 155 | CampaignTypesService::class, |
156 | 156 | CampaignTypesService::EVENT_AFTER_DELETE_CAMPAIGN_TYPE, |
157 | - function (CampaignTypeEvent $event) { |
|
157 | + function(CampaignTypeEvent $event) { |
|
158 | 158 | Craft::debug( |
159 | 159 | 'CampaignTypesService::EVENT_AFTER_DELETE_CAMPAIGN_TYPE', |
160 | 160 | __METHOD__ |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | Event::on( |
184 | 184 | CampaignElement::class, |
185 | 185 | CampaignElement::EVENT_DEFINE_SIDEBAR_HTML, |
186 | - static function (DefineHtmlEvent $event) { |
|
186 | + static function(DefineHtmlEvent $event) { |
|
187 | 187 | Craft::debug( |
188 | 188 | 'CampaignElement::EVENT_DEFINE_SIDEBAR_HTML', |
189 | 189 | __METHOD__ |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | ConfigHelper::getConfigFromFile(self::configFilePath()), |
386 | 386 | [ |
387 | 387 | 'sourceId' => $sourceModel->id, |
388 | - 'sourceName' => (string)$sourceModel->name, |
|
388 | + 'sourceName' => (string) $sourceModel->name, |
|
389 | 389 | 'sourceHandle' => $sourceModel->handle, |
390 | 390 | ] |
391 | 391 | ); |