@@ -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 | ], |
@@ -26,5 +26,5 @@ |
||
26 | 26 | /** |
27 | 27 | * @var bool Whether to include the container. |
28 | 28 | */ |
29 | - public $include; |
|
29 | + public $include; |
|
30 | 30 | } |
@@ -57,7 +57,7 @@ |
||
57 | 57 | // If `devMode` is on, prefix the <title> with this string |
58 | 58 | 'devModeTitlePrefix' => '🚧 ', |
59 | 59 | |
60 | - // Prefix the Control Panel <title> with this string |
|
60 | + // Prefix the Control Panel <title> with this string |
|
61 | 61 | 'cpTitlePrefix' => '⚙ ', |
62 | 62 | |
63 | 63 | // If `devMode` is on, prefix the Control Panel <title> with this string |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | 'publicAccess', |
263 | 263 | 'smokingAllowed', |
264 | 264 | 'specialOpeningHoursSpecification', |
265 | - ]; |
|
265 | + ]; |
|
266 | 266 | |
267 | 267 | /** |
268 | 268 | * The Schema.org Property Expected Types |
@@ -336,8 +336,8 @@ discard block |
||
336 | 336 | // ========================================================================= |
337 | 337 | |
338 | 338 | /** |
339 | - * @inheritdoc |
|
340 | - */ |
|
339 | + * @inheritdoc |
|
340 | + */ |
|
341 | 341 | public function init() |
342 | 342 | { |
343 | 343 | parent::init(); |
@@ -368,8 +368,8 @@ discard block |
||
368 | 368 | } |
369 | 369 | |
370 | 370 | /** |
371 | - * @inheritdoc |
|
372 | - */ |
|
371 | + * @inheritdoc |
|
372 | + */ |
|
373 | 373 | public function rules() |
374 | 374 | { |
375 | 375 | $rules = parent::rules(); |
@@ -280,11 +280,11 @@ discard block |
||
280 | 280 | 'branchCode' => ['Text'], |
281 | 281 | 'containedInPlace' => ['Place'], |
282 | 282 | 'containsPlace' => ['Place'], |
283 | - 'geo' => ['GeoCoordinates','GeoShape'], |
|
284 | - 'hasMap' => ['Map','URL'], |
|
283 | + 'geo' => ['GeoCoordinates', 'GeoShape'], |
|
284 | + 'hasMap' => ['Map', 'URL'], |
|
285 | 285 | 'maximumAttendeeCapacity' => ['Integer'], |
286 | 286 | 'openingHoursSpecification' => ['OpeningHoursSpecification'], |
287 | - 'photo' => ['ImageObject','Photograph'], |
|
287 | + 'photo' => ['ImageObject', 'Photograph'], |
|
288 | 288 | 'publicAccess' => ['Boolean'], |
289 | 289 | 'smokingAllowed' => ['Boolean'], |
290 | 290 | 'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'], |
@@ -375,9 +375,9 @@ discard block |
||
375 | 375 | $rules = parent::rules(); |
376 | 376 | $rules = array_merge($rules, [ |
377 | 377 | // Properties from Self |
378 | - [['currenciesAccepted','openingHours','openingHoursSpecification', 'paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
378 | + [['currenciesAccepted', 'openingHours', 'openingHoursSpecification', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'], |
|
379 | 379 | // Properties from Place |
380 | - [['additionalProperty','branchCode','containedInPlace','containsPlace','geo','hasMap','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','smokingAllowed','specialOpeningHoursSpecification'], 'validateJsonSchema'], |
|
380 | + [['additionalProperty', 'branchCode', 'containedInPlace', 'containsPlace', 'geo', 'hasMap', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'smokingAllowed', 'specialOpeningHoursSpecification'], 'validateJsonSchema'], |
|
381 | 381 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
382 | 382 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
383 | 383 | ]); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | 'name' => 'General', |
27 | 27 | 'description' => 'Script Tags', |
28 | 28 | 'handle' => ScriptService::GENERAL_HANDLE, |
29 | - 'class' => (string)MetaScriptContainer::class, |
|
29 | + 'class' => (string) MetaScriptContainer::class, |
|
30 | 30 | 'include' => true, |
31 | 31 | 'dependencies' => [ |
32 | 32 | ], |
@@ -24,7 +24,7 @@ |
||
24 | 24 | 'name' => 'General', |
25 | 25 | 'description' => 'Meta Title Tag', |
26 | 26 | 'handle' => TitleService::GENERAL_HANDLE, |
27 | - 'class' => (string)MetaTitleContainer::class, |
|
27 | + 'class' => (string) MetaTitleContainer::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 | ], |
@@ -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 @@ |
||
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 | ], |