@@ -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(); |
@@ -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(); |
@@ -219,7 +219,7 @@ |
||
219 | 219 | { |
220 | 220 | $rules = parent::rules(); |
221 | 221 | $rules = array_merge($rules, [ |
222 | - [['dropoffLocation','dropoffTime','pickupLocation','pickupTime'], 'validateJsonSchema'], |
|
222 | + [['dropoffLocation', 'dropoffTime', 'pickupLocation', 'pickupTime'], 'validateJsonSchema'], |
|
223 | 223 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
224 | 224 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
225 | 225 | ]); |
@@ -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(); |
@@ -203,14 +203,14 @@ discard block |
||
203 | 203 | * @var array |
204 | 204 | */ |
205 | 205 | static protected $_schemaPropertyExpectedTypes = [ |
206 | - 'breadcrumb' => ['BreadcrumbList','Text'], |
|
206 | + 'breadcrumb' => ['BreadcrumbList', 'Text'], |
|
207 | 207 | 'lastReviewed' => ['Date'], |
208 | 208 | 'mainContentOfPage' => ['WebPageElement'], |
209 | 209 | 'primaryImageOfPage' => ['ImageObject'], |
210 | 210 | 'relatedLink' => ['URL'], |
211 | - 'reviewedBy' => ['Organization','Person'], |
|
211 | + 'reviewedBy' => ['Organization', 'Person'], |
|
212 | 212 | 'significantLink' => ['URL'], |
213 | - 'speakable' => ['SpeakableSpecification','URL'], |
|
213 | + 'speakable' => ['SpeakableSpecification', 'URL'], |
|
214 | 214 | 'specialty' => ['Specialty'] |
215 | 215 | ]; |
216 | 216 | |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | { |
290 | 290 | $rules = parent::rules(); |
291 | 291 | $rules = array_merge($rules, [ |
292 | - [['breadcrumb','lastReviewed','mainContentOfPage','primaryImageOfPage','relatedLink','reviewedBy','significantLink','speakable','specialty'], 'validateJsonSchema'], |
|
292 | + [['breadcrumb', 'lastReviewed', 'mainContentOfPage', 'primaryImageOfPage', 'relatedLink', 'reviewedBy', 'significantLink', 'speakable', 'specialty'], 'validateJsonSchema'], |
|
293 | 293 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
294 | 294 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
295 | 295 | ]); |
@@ -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(); |
@@ -476,7 +476,7 @@ discard block |
||
476 | 476 | */ |
477 | 477 | static protected $_schemaPropertyExpectedTypes = [ |
478 | 478 | 'additionalProperty' => ['PropertyValue'], |
479 | - 'address' => ['PostalAddress','Text'], |
|
479 | + 'address' => ['PostalAddress', 'Text'], |
|
480 | 480 | 'aggregateRating' => ['AggregateRating'], |
481 | 481 | 'amenityFeature' => ['LocationFeatureSpecification'], |
482 | 482 | 'branchCode' => ['Text'], |
@@ -484,28 +484,28 @@ discard block |
||
484 | 484 | 'containsPlace' => ['Place'], |
485 | 485 | 'event' => ['Event'], |
486 | 486 | 'faxNumber' => ['Text'], |
487 | - 'geo' => ['GeoCoordinates','GeoShape'], |
|
488 | - 'geoContains' => ['GeospatialGeometry','Place'], |
|
489 | - 'geoCoveredBy' => ['GeospatialGeometry','Place'], |
|
490 | - 'geoCovers' => ['GeospatialGeometry','Place'], |
|
491 | - 'geoCrosses' => ['GeospatialGeometry','Place'], |
|
492 | - 'geoDisjoint' => ['GeospatialGeometry','Place'], |
|
493 | - 'geoEquals' => ['GeospatialGeometry','Place'], |
|
494 | - 'geoIntersects' => ['GeospatialGeometry','Place'], |
|
495 | - 'geoOverlaps' => ['GeospatialGeometry','Place'], |
|
496 | - 'geoTouches' => ['GeospatialGeometry','Place'], |
|
497 | - 'geoWithin' => ['GeospatialGeometry','Place'], |
|
487 | + 'geo' => ['GeoCoordinates', 'GeoShape'], |
|
488 | + 'geoContains' => ['GeospatialGeometry', 'Place'], |
|
489 | + 'geoCoveredBy' => ['GeospatialGeometry', 'Place'], |
|
490 | + 'geoCovers' => ['GeospatialGeometry', 'Place'], |
|
491 | + 'geoCrosses' => ['GeospatialGeometry', 'Place'], |
|
492 | + 'geoDisjoint' => ['GeospatialGeometry', 'Place'], |
|
493 | + 'geoEquals' => ['GeospatialGeometry', 'Place'], |
|
494 | + 'geoIntersects' => ['GeospatialGeometry', 'Place'], |
|
495 | + 'geoOverlaps' => ['GeospatialGeometry', 'Place'], |
|
496 | + 'geoTouches' => ['GeospatialGeometry', 'Place'], |
|
497 | + 'geoWithin' => ['GeospatialGeometry', 'Place'], |
|
498 | 498 | 'globalLocationNumber' => ['Text'], |
499 | 499 | 'hasDriveThroughService' => ['Boolean'], |
500 | - 'hasMap' => ['Map','URL'], |
|
500 | + 'hasMap' => ['Map', 'URL'], |
|
501 | 501 | 'isAccessibleForFree' => ['Boolean'], |
502 | 502 | 'isicV4' => ['Text'], |
503 | - 'latitude' => ['Number','Text'], |
|
504 | - 'logo' => ['ImageObject','URL'], |
|
505 | - 'longitude' => ['Number','Text'], |
|
503 | + 'latitude' => ['Number', 'Text'], |
|
504 | + 'logo' => ['ImageObject', 'URL'], |
|
505 | + 'longitude' => ['Number', 'Text'], |
|
506 | 506 | 'maximumAttendeeCapacity' => ['Integer'], |
507 | 507 | 'openingHoursSpecification' => ['OpeningHoursSpecification'], |
508 | - 'photo' => ['ImageObject','Photograph'], |
|
508 | + 'photo' => ['ImageObject', 'Photograph'], |
|
509 | 509 | 'publicAccess' => ['Boolean'], |
510 | 510 | 'review' => ['Review'], |
511 | 511 | 'slogan' => ['Text'], |
@@ -619,7 +619,7 @@ discard block |
||
619 | 619 | { |
620 | 620 | $rules = parent::rules(); |
621 | 621 | $rules = array_merge($rules, [ |
622 | - [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasDriveThroughService','hasMap','isAccessibleForFree','isicV4','latitude','logo','longitude','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone','tourBookingPage'], 'validateJsonSchema'], |
|
622 | + [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasDriveThroughService', 'hasMap', 'isAccessibleForFree', 'isicV4', 'latitude', 'logo', 'longitude', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone', 'tourBookingPage'], 'validateJsonSchema'], |
|
623 | 623 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
624 | 624 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
625 | 625 | ]); |
@@ -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(); |
@@ -152,8 +152,8 @@ discard block |
||
152 | 152 | * @var array |
153 | 153 | */ |
154 | 154 | static protected $_schemaPropertyExpectedTypes = [ |
155 | - 'itemListElement' => ['ListItem','Text','Thing'], |
|
156 | - 'itemListOrder' => ['ItemListOrderType','Text'], |
|
155 | + 'itemListElement' => ['ListItem', 'Text', 'Thing'], |
|
156 | + 'itemListOrder' => ['ItemListOrderType', 'Text'], |
|
157 | 157 | 'numberOfItems' => ['Integer'] |
158 | 158 | ]; |
159 | 159 | |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | { |
227 | 227 | $rules = parent::rules(); |
228 | 228 | $rules = array_merge($rules, [ |
229 | - [['itemListElement','itemListOrder','numberOfItems'], 'validateJsonSchema'], |
|
229 | + [['itemListElement', 'itemListOrder', 'numberOfItems'], '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(); |
@@ -199,7 +199,7 @@ |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['appliesToDeliveryMethod','appliesToPaymentMethod'], 'validateJsonSchema'], |
|
202 | + [['appliesToDeliveryMethod', 'appliesToPaymentMethod'], 'validateJsonSchema'], |
|
203 | 203 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
204 | 204 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
205 | 205 | ]); |
@@ -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(); |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | */ |
163 | 163 | static protected $_schemaPropertyExpectedTypes = [ |
164 | 164 | 'actionApplication' => ['SoftwareApplication'], |
165 | - 'actionPlatform' => ['Text','URL'], |
|
165 | + 'actionPlatform' => ['Text', 'URL'], |
|
166 | 166 | 'contentType' => ['Text'], |
167 | 167 | 'encodingType' => ['Text'], |
168 | 168 | 'httpMethod' => ['Text'], |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | { |
242 | 242 | $rules = parent::rules(); |
243 | 243 | $rules = array_merge($rules, [ |
244 | - [['actionApplication','actionPlatform','contentType','encodingType','httpMethod','urlTemplate'], 'validateJsonSchema'], |
|
244 | + [['actionApplication', 'actionPlatform', 'contentType', 'encodingType', 'httpMethod', 'urlTemplate'], 'validateJsonSchema'], |
|
245 | 245 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
246 | 246 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
247 | 247 | ]); |