@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -189,10 +189,10 @@ discard block |
||
189 | 189 | */ |
190 | 190 | static protected $_schemaPropertyExpectedTypes = [ |
191 | 191 | 'actor' => ['Person'], |
192 | - 'clipNumber' => ['Integer','Text'], |
|
192 | + 'clipNumber' => ['Integer', 'Text'], |
|
193 | 193 | 'director' => ['Person'], |
194 | 194 | 'endOffset' => ['Number'], |
195 | - 'musicBy' => ['MusicGroup','Person'], |
|
195 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
196 | 196 | 'partOfEpisode' => ['Episode'], |
197 | 197 | 'partOfSeason' => ['CreativeWorkSeason'], |
198 | 198 | 'partOfSeries' => ['CreativeWorkSeries'], |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | { |
275 | 275 | $rules = parent::rules(); |
276 | 276 | $rules = array_merge($rules, [ |
277 | - [['actor','clipNumber','director','endOffset','musicBy','partOfEpisode','partOfSeason','partOfSeries','startOffset'], 'validateJsonSchema'], |
|
277 | + [['actor', 'clipNumber', 'director', 'endOffset', 'musicBy', 'partOfEpisode', 'partOfSeason', 'partOfSeries', 'startOffset'], 'validateJsonSchema'], |
|
278 | 278 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
279 | 279 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
280 | 280 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -147,10 +147,10 @@ discard block |
||
147 | 147 | * @var array |
148 | 148 | */ |
149 | 149 | static protected $_schemaPropertyExpectedTypes = [ |
150 | - 'pageEnd' => ['Integer','Text'], |
|
151 | - 'pageStart' => ['Integer','Text'], |
|
150 | + 'pageEnd' => ['Integer', 'Text'], |
|
151 | + 'pageStart' => ['Integer', 'Text'], |
|
152 | 152 | 'pagination' => ['Text'], |
153 | - 'volumeNumber' => ['Integer','Text'] |
|
153 | + 'volumeNumber' => ['Integer', 'Text'] |
|
154 | 154 | ]; |
155 | 155 | |
156 | 156 | /** |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | { |
224 | 224 | $rules = parent::rules(); |
225 | 225 | $rules = array_merge($rules, [ |
226 | - [['pageEnd','pageStart','pagination','volumeNumber'], 'validateJsonSchema'], |
|
226 | + [['pageEnd', 'pageStart', 'pagination', 'volumeNumber'], 'validateJsonSchema'], |
|
227 | 227 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
228 | 228 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
229 | 229 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -456,36 +456,36 @@ discard block |
||
456 | 456 | 'about' => ['Thing'], |
457 | 457 | 'actor' => ['Person'], |
458 | 458 | 'aggregateRating' => ['AggregateRating'], |
459 | - 'attendee' => ['Organization','Person'], |
|
459 | + 'attendee' => ['Organization', 'Person'], |
|
460 | 460 | 'audience' => ['Audience'], |
461 | - 'composer' => ['Organization','Person'], |
|
462 | - 'contributor' => ['Organization','Person'], |
|
461 | + 'composer' => ['Organization', 'Person'], |
|
462 | + 'contributor' => ['Organization', 'Person'], |
|
463 | 463 | 'director' => ['Person'], |
464 | - 'doorTime' => ['DateTime','Time'], |
|
464 | + 'doorTime' => ['DateTime', 'Time'], |
|
465 | 465 | 'duration' => ['Duration'], |
466 | - 'endDate' => ['Date','DateTime'], |
|
466 | + 'endDate' => ['Date', 'DateTime'], |
|
467 | 467 | 'eventAttendanceMode' => ['EventAttendanceModeEnumeration'], |
468 | 468 | 'eventSchedule' => ['Schedule'], |
469 | 469 | 'eventStatus' => ['EventStatusType'], |
470 | - 'funder' => ['Organization','Person'], |
|
471 | - 'inLanguage' => ['Language','Text'], |
|
470 | + 'funder' => ['Organization', 'Person'], |
|
471 | + 'inLanguage' => ['Language', 'Text'], |
|
472 | 472 | 'isAccessibleForFree' => ['Boolean'], |
473 | - 'location' => ['Place','PostalAddress','Text','VirtualLocation'], |
|
473 | + 'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'], |
|
474 | 474 | 'maximumAttendeeCapacity' => ['Integer'], |
475 | 475 | 'maximumPhysicalAttendeeCapacity' => ['Integer'], |
476 | 476 | 'maximumVirtualAttendeeCapacity' => ['Integer'], |
477 | - 'offers' => ['Demand','Offer'], |
|
478 | - 'organizer' => ['Organization','Person'], |
|
479 | - 'performer' => ['Organization','Person'], |
|
477 | + 'offers' => ['Demand', 'Offer'], |
|
478 | + 'organizer' => ['Organization', 'Person'], |
|
479 | + 'performer' => ['Organization', 'Person'], |
|
480 | 480 | 'previousStartDate' => ['Date'], |
481 | 481 | 'recordedIn' => ['CreativeWork'], |
482 | 482 | 'remainingAttendeeCapacity' => ['Integer'], |
483 | 483 | 'review' => ['Review'], |
484 | - 'sponsor' => ['Organization','Person'], |
|
485 | - 'startDate' => ['Date','DateTime'], |
|
484 | + 'sponsor' => ['Organization', 'Person'], |
|
485 | + 'startDate' => ['Date', 'DateTime'], |
|
486 | 486 | 'subEvent' => ['Event'], |
487 | 487 | 'superEvent' => ['Event'], |
488 | - 'translator' => ['Organization','Person'], |
|
488 | + 'translator' => ['Organization', 'Person'], |
|
489 | 489 | 'typicalAgeRange' => ['Text'], |
490 | 490 | 'workFeatured' => ['CreativeWork'], |
491 | 491 | 'workPerformed' => ['CreativeWork'] |
@@ -593,7 +593,7 @@ discard block |
||
593 | 593 | { |
594 | 594 | $rules = parent::rules(); |
595 | 595 | $rules = array_merge($rules, [ |
596 | - [['about','actor','aggregateRating','attendee','audience','composer','contributor','director','doorTime','duration','endDate','eventAttendanceMode','eventSchedule','eventStatus','funder','inLanguage','isAccessibleForFree','location','maximumAttendeeCapacity','maximumPhysicalAttendeeCapacity','maximumVirtualAttendeeCapacity','offers','organizer','performer','previousStartDate','recordedIn','remainingAttendeeCapacity','review','sponsor','startDate','subEvent','superEvent','translator','typicalAgeRange','workFeatured','workPerformed'], 'validateJsonSchema'], |
|
596 | + [['about', 'actor', 'aggregateRating', 'attendee', 'audience', 'composer', 'contributor', 'director', 'doorTime', 'duration', 'endDate', 'eventAttendanceMode', 'eventSchedule', 'eventStatus', 'funder', 'inLanguage', 'isAccessibleForFree', 'location', 'maximumAttendeeCapacity', 'maximumPhysicalAttendeeCapacity', 'maximumVirtualAttendeeCapacity', 'offers', 'organizer', 'performer', 'previousStartDate', 'recordedIn', 'remainingAttendeeCapacity', 'review', 'sponsor', 'startDate', 'subEvent', 'superEvent', 'translator', 'typicalAgeRange', 'workFeatured', 'workPerformed'], 'validateJsonSchema'], |
|
597 | 597 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
598 | 598 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
599 | 599 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -607,29 +607,29 @@ discard block |
||
607 | 607 | * @var array |
608 | 608 | */ |
609 | 609 | static protected $_schemaPropertyExpectedTypes = [ |
610 | - 'actionableFeedbackPolicy' => ['CreativeWork','URL'], |
|
611 | - 'address' => ['PostalAddress','Text'], |
|
610 | + 'actionableFeedbackPolicy' => ['CreativeWork', 'URL'], |
|
611 | + 'address' => ['PostalAddress', 'Text'], |
|
612 | 612 | 'aggregateRating' => ['AggregateRating'], |
613 | 613 | 'alumni' => ['Person'], |
614 | - 'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'], |
|
614 | + 'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'], |
|
615 | 615 | 'award' => ['Text'], |
616 | - 'brand' => ['Brand','Organization'], |
|
616 | + 'brand' => ['Brand', 'Organization'], |
|
617 | 617 | 'contactPoint' => ['ContactPoint'], |
618 | - 'correctionsPolicy' => ['CreativeWork','URL'], |
|
618 | + 'correctionsPolicy' => ['CreativeWork', 'URL'], |
|
619 | 619 | 'department' => ['Organization'], |
620 | 620 | 'dissolutionDate' => ['Date'], |
621 | - 'diversityPolicy' => ['CreativeWork','URL'], |
|
622 | - 'diversityStaffingReport' => ['Article','URL'], |
|
621 | + 'diversityPolicy' => ['CreativeWork', 'URL'], |
|
622 | + 'diversityStaffingReport' => ['Article', 'URL'], |
|
623 | 623 | 'duns' => ['Text'], |
624 | 624 | 'email' => ['Text'], |
625 | 625 | 'employee' => ['Person'], |
626 | - 'ethicsPolicy' => ['CreativeWork','URL'], |
|
626 | + 'ethicsPolicy' => ['CreativeWork', 'URL'], |
|
627 | 627 | 'event' => ['Event'], |
628 | 628 | 'faxNumber' => ['Text'], |
629 | 629 | 'founder' => ['Person'], |
630 | 630 | 'foundingDate' => ['Date'], |
631 | 631 | 'foundingLocation' => ['Place'], |
632 | - 'funder' => ['Organization','Person'], |
|
632 | + 'funder' => ['Organization', 'Person'], |
|
633 | 633 | 'globalLocationNumber' => ['Text'], |
634 | 634 | 'hasCredential' => ['EducationalOccupationalCredential'], |
635 | 635 | 'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'], |
@@ -637,29 +637,29 @@ discard block |
||
637 | 637 | 'hasPOS' => ['Place'], |
638 | 638 | 'interactionStatistic' => ['InteractionCounter'], |
639 | 639 | 'isicV4' => ['Text'], |
640 | - 'knowsAbout' => ['Text','Thing','URL'], |
|
641 | - 'knowsLanguage' => ['Language','Text'], |
|
640 | + 'knowsAbout' => ['Text', 'Thing', 'URL'], |
|
641 | + 'knowsLanguage' => ['Language', 'Text'], |
|
642 | 642 | 'legalName' => ['Text'], |
643 | 643 | 'leiCode' => ['Text'], |
644 | - 'location' => ['Place','PostalAddress','Text','VirtualLocation'], |
|
645 | - 'logo' => ['ImageObject','URL'], |
|
644 | + 'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'], |
|
645 | + 'logo' => ['ImageObject', 'URL'], |
|
646 | 646 | 'makesOffer' => ['Offer'], |
647 | - 'member' => ['Organization','Person'], |
|
648 | - 'memberOf' => ['Organization','ProgramMembership'], |
|
647 | + 'member' => ['Organization', 'Person'], |
|
648 | + 'memberOf' => ['Organization', 'ProgramMembership'], |
|
649 | 649 | 'naics' => ['Text'], |
650 | 650 | 'numberOfEmployees' => ['QuantitativeValue'], |
651 | - 'ownershipFundingInfo' => ['AboutPage','CreativeWork','Text','URL'], |
|
652 | - 'owns' => ['OwnershipInfo','Product'], |
|
651 | + 'ownershipFundingInfo' => ['AboutPage', 'CreativeWork', 'Text', 'URL'], |
|
652 | + 'owns' => ['OwnershipInfo', 'Product'], |
|
653 | 653 | 'parentOrganization' => ['Organization'], |
654 | - 'publishingPrinciples' => ['CreativeWork','URL'], |
|
654 | + 'publishingPrinciples' => ['CreativeWork', 'URL'], |
|
655 | 655 | 'review' => ['Review'], |
656 | 656 | 'seeks' => ['Demand'], |
657 | 657 | 'slogan' => ['Text'], |
658 | - 'sponsor' => ['Organization','Person'], |
|
658 | + 'sponsor' => ['Organization', 'Person'], |
|
659 | 659 | 'subOrganization' => ['Organization'], |
660 | 660 | 'taxID' => ['Text'], |
661 | 661 | 'telephone' => ['Text'], |
662 | - 'unnamedSourcesPolicy' => ['CreativeWork','URL'], |
|
662 | + 'unnamedSourcesPolicy' => ['CreativeWork', 'URL'], |
|
663 | 663 | 'vatID' => ['Text'] |
664 | 664 | ]; |
665 | 665 | |
@@ -783,7 +783,7 @@ discard block |
||
783 | 783 | { |
784 | 784 | $rules = parent::rules(); |
785 | 785 | $rules = array_merge($rules, [ |
786 | - [['actionableFeedbackPolicy','address','aggregateRating','alumni','areaServed','award','brand','contactPoint','correctionsPolicy','department','dissolutionDate','diversityPolicy','diversityStaffingReport','duns','email','employee','ethicsPolicy','event','faxNumber','founder','foundingDate','foundingLocation','funder','globalLocationNumber','hasCredential','hasMerchantReturnPolicy','hasOfferCatalog','hasPOS','interactionStatistic','isicV4','knowsAbout','knowsLanguage','legalName','leiCode','location','logo','makesOffer','member','memberOf','naics','numberOfEmployees','ownershipFundingInfo','owns','parentOrganization','publishingPrinciples','review','seeks','slogan','sponsor','subOrganization','taxID','telephone','unnamedSourcesPolicy','vatID'], 'validateJsonSchema'], |
|
786 | + [['actionableFeedbackPolicy', 'address', 'aggregateRating', 'alumni', 'areaServed', 'award', 'brand', 'contactPoint', 'correctionsPolicy', 'department', 'dissolutionDate', 'diversityPolicy', 'diversityStaffingReport', 'duns', 'email', 'employee', 'ethicsPolicy', 'event', 'faxNumber', 'founder', 'foundingDate', 'foundingLocation', 'funder', 'globalLocationNumber', 'hasCredential', 'hasMerchantReturnPolicy', 'hasOfferCatalog', 'hasPOS', 'interactionStatistic', 'isicV4', 'knowsAbout', 'knowsLanguage', 'legalName', 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf', 'naics', 'numberOfEmployees', 'ownershipFundingInfo', 'owns', 'parentOrganization', 'publishingPrinciples', 'review', 'seeks', 'slogan', 'sponsor', 'subOrganization', 'taxID', 'telephone', 'unnamedSourcesPolicy', 'vatID'], 'validateJsonSchema'], |
|
787 | 787 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
788 | 788 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
789 | 789 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -226,7 +226,7 @@ |
||
226 | 226 | { |
227 | 227 | $rules = parent::rules(); |
228 | 228 | $rules = array_merge($rules, [ |
229 | - [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
229 | + [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'], |
|
230 | 230 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
231 | 231 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
232 | 232 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -197,7 +197,7 @@ |
||
197 | 197 | { |
198 | 198 | $rules = parent::rules(); |
199 | 199 | $rules = array_merge($rules, [ |
200 | - [['iataCode','icaoCode'], 'validateJsonSchema'], |
|
200 | + [['iataCode', 'icaoCode'], 'validateJsonSchema'], |
|
201 | 201 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
202 | 202 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
203 | 203 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -207,7 +207,7 @@ |
||
207 | 207 | { |
208 | 208 | $rules = parent::rules(); |
209 | 209 | $rules = array_merge($rules, [ |
210 | - [['game','playersOnline','serverStatus'], 'validateJsonSchema'], |
|
210 | + [['game', 'playersOnline', 'serverStatus'], 'validateJsonSchema'], |
|
211 | 211 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
212 | 212 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
213 | 213 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -226,7 +226,7 @@ |
||
226 | 226 | { |
227 | 227 | $rules = parent::rules(); |
228 | 228 | $rules = array_merge($rules, [ |
229 | - [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
229 | + [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'], |
|
230 | 230 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
231 | 231 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
232 | 232 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
164 | 164 | // ========================================================================= |
165 | 165 | |
166 | 166 | /** |
167 | - * @inheritdoc |
|
168 | - */ |
|
167 | + * @inheritdoc |
|
168 | + */ |
|
169 | 169 | public function init() |
170 | 170 | { |
171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
196 | 196 | } |
197 | 197 | |
198 | 198 | /** |
199 | - * @inheritdoc |
|
200 | - */ |
|
199 | + * @inheritdoc |
|
200 | + */ |
|
201 | 201 | public function rules() |
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
@@ -226,7 +226,7 @@ |
||
226 | 226 | { |
227 | 227 | $rules = parent::rules(); |
228 | 228 | $rules = array_merge($rules, [ |
229 | - [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
229 | + [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'], |
|
230 | 230 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
231 | 231 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
232 | 232 | ]); |