@@ -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(); |
@@ -191,8 +191,8 @@ discard block |
||
191 | 191 | 'recipeCategory' => ['Text'], |
192 | 192 | 'recipeCuisine' => ['Text'], |
193 | 193 | 'recipeIngredient' => ['Text'], |
194 | - 'recipeInstructions' => ['CreativeWork','ItemList','Text'], |
|
195 | - 'recipeYield' => ['QuantitativeValue','Text'], |
|
194 | + 'recipeInstructions' => ['CreativeWork', 'ItemList', 'Text'], |
|
195 | + 'recipeYield' => ['QuantitativeValue', 'Text'], |
|
196 | 196 | 'suitableForDiet' => ['RestrictedDiet'] |
197 | 197 | ]; |
198 | 198 | |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | { |
272 | 272 | $rules = parent::rules(); |
273 | 273 | $rules = array_merge($rules, [ |
274 | - [['cookTime','cookingMethod','nutrition','recipeCategory','recipeCuisine','recipeIngredient','recipeInstructions','recipeYield','suitableForDiet'], 'validateJsonSchema'], |
|
274 | + [['cookTime', 'cookingMethod', 'nutrition', 'recipeCategory', 'recipeCuisine', 'recipeIngredient', 'recipeInstructions', 'recipeYield', 'suitableForDiet'], 'validateJsonSchema'], |
|
275 | 275 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
276 | 276 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
277 | 277 | ]); |
@@ -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(); |
@@ -171,9 +171,9 @@ discard block |
||
171 | 171 | */ |
172 | 172 | static protected $_schemaPropertyExpectedTypes = [ |
173 | 173 | 'actor' => ['Person'], |
174 | - 'clipNumber' => ['Integer','Text'], |
|
174 | + 'clipNumber' => ['Integer', 'Text'], |
|
175 | 175 | 'director' => ['Person'], |
176 | - 'musicBy' => ['MusicGroup','Person'], |
|
176 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
177 | 177 | 'partOfEpisode' => ['Episode'], |
178 | 178 | 'partOfSeason' => ['CreativeWorkSeason'], |
179 | 179 | 'partOfSeries' => ['CreativeWorkSeries'] |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | { |
253 | 253 | $rules = parent::rules(); |
254 | 254 | $rules = array_merge($rules, [ |
255 | - [['actor','clipNumber','director','musicBy','partOfEpisode','partOfSeason','partOfSeries'], 'validateJsonSchema'], |
|
255 | + [['actor', 'clipNumber', 'director', 'musicBy', 'partOfEpisode', 'partOfSeason', 'partOfSeries'], 'validateJsonSchema'], |
|
256 | 256 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
257 | 257 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
258 | 258 | ]); |
@@ -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(); |
@@ -527,51 +527,51 @@ discard block |
||
527 | 527 | * @var array |
528 | 528 | */ |
529 | 529 | static protected $_schemaPropertyExpectedTypes = [ |
530 | - 'actionableFeedbackPolicy' => ['CreativeWork','URL'], |
|
531 | - 'address' => ['PostalAddress','Text'], |
|
530 | + 'actionableFeedbackPolicy' => ['CreativeWork', 'URL'], |
|
531 | + 'address' => ['PostalAddress', 'Text'], |
|
532 | 532 | 'aggregateRating' => ['AggregateRating'], |
533 | 533 | 'alumni' => ['Person'], |
534 | - 'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'], |
|
534 | + 'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'], |
|
535 | 535 | 'award' => ['Text'], |
536 | - 'brand' => ['Brand','Organization'], |
|
536 | + 'brand' => ['Brand', 'Organization'], |
|
537 | 537 | 'contactPoint' => ['ContactPoint'], |
538 | - 'correctionsPolicy' => ['CreativeWork','URL'], |
|
538 | + 'correctionsPolicy' => ['CreativeWork', 'URL'], |
|
539 | 539 | 'department' => ['Organization'], |
540 | 540 | 'dissolutionDate' => ['Date'], |
541 | - 'diversityPolicy' => ['CreativeWork','URL'], |
|
541 | + 'diversityPolicy' => ['CreativeWork', 'URL'], |
|
542 | 542 | 'duns' => ['Text'], |
543 | 543 | 'email' => ['Text'], |
544 | 544 | 'employee' => ['Person'], |
545 | - 'ethicsPolicy' => ['CreativeWork','URL'], |
|
545 | + 'ethicsPolicy' => ['CreativeWork', 'URL'], |
|
546 | 546 | 'event' => ['Event'], |
547 | 547 | 'faxNumber' => ['Text'], |
548 | 548 | 'founder' => ['Person'], |
549 | 549 | 'foundingDate' => ['Date'], |
550 | 550 | 'foundingLocation' => ['Place'], |
551 | - 'funder' => ['Organization','Person'], |
|
551 | + 'funder' => ['Organization', 'Person'], |
|
552 | 552 | 'globalLocationNumber' => ['Text'], |
553 | 553 | 'hasOfferCatalog' => ['OfferCatalog'], |
554 | 554 | 'hasPOS' => ['Place'], |
555 | 555 | 'isicV4' => ['Text'], |
556 | 556 | 'legalName' => ['Text'], |
557 | 557 | 'leiCode' => ['Text'], |
558 | - 'location' => ['Place','PostalAddress','Text'], |
|
559 | - 'logo' => ['ImageObject','URL'], |
|
558 | + 'location' => ['Place', 'PostalAddress', 'Text'], |
|
559 | + 'logo' => ['ImageObject', 'URL'], |
|
560 | 560 | 'makesOffer' => ['Offer'], |
561 | - 'member' => ['Organization','Person'], |
|
562 | - 'memberOf' => ['Organization','ProgramMembership'], |
|
561 | + 'member' => ['Organization', 'Person'], |
|
562 | + 'memberOf' => ['Organization', 'ProgramMembership'], |
|
563 | 563 | 'naics' => ['Text'], |
564 | 564 | 'numberOfEmployees' => ['QuantitativeValue'], |
565 | - 'owns' => ['OwnershipInfo','Product'], |
|
565 | + 'owns' => ['OwnershipInfo', 'Product'], |
|
566 | 566 | 'parentOrganization' => ['Organization'], |
567 | - 'publishingPrinciples' => ['CreativeWork','URL'], |
|
567 | + 'publishingPrinciples' => ['CreativeWork', 'URL'], |
|
568 | 568 | 'review' => ['Review'], |
569 | 569 | 'seeks' => ['Demand'], |
570 | - 'sponsor' => ['Organization','Person'], |
|
570 | + 'sponsor' => ['Organization', 'Person'], |
|
571 | 571 | 'subOrganization' => ['Organization'], |
572 | 572 | 'taxID' => ['Text'], |
573 | 573 | 'telephone' => ['Text'], |
574 | - 'unnamedSourcesPolicy' => ['CreativeWork','URL'], |
|
574 | + 'unnamedSourcesPolicy' => ['CreativeWork', 'URL'], |
|
575 | 575 | 'vatID' => ['Text'] |
576 | 576 | ]; |
577 | 577 | |
@@ -687,7 +687,7 @@ discard block |
||
687 | 687 | { |
688 | 688 | $rules = parent::rules(); |
689 | 689 | $rules = array_merge($rules, [ |
690 | - [['actionableFeedbackPolicy','address','aggregateRating','alumni','areaServed','award','brand','contactPoint','correctionsPolicy','department','dissolutionDate','diversityPolicy','duns','email','employee','ethicsPolicy','event','faxNumber','founder','foundingDate','foundingLocation','funder','globalLocationNumber','hasOfferCatalog','hasPOS','isicV4','legalName','leiCode','location','logo','makesOffer','member','memberOf','naics','numberOfEmployees','owns','parentOrganization','publishingPrinciples','review','seeks','sponsor','subOrganization','taxID','telephone','unnamedSourcesPolicy','vatID'], 'validateJsonSchema'], |
|
690 | + [['actionableFeedbackPolicy', 'address', 'aggregateRating', 'alumni', 'areaServed', 'award', 'brand', 'contactPoint', 'correctionsPolicy', 'department', 'dissolutionDate', 'diversityPolicy', 'duns', 'email', 'employee', 'ethicsPolicy', 'event', 'faxNumber', 'founder', 'foundingDate', 'foundingLocation', 'funder', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'isicV4', 'legalName', 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf', 'naics', 'numberOfEmployees', 'owns', 'parentOrganization', 'publishingPrinciples', 'review', 'seeks', 'sponsor', 'subOrganization', 'taxID', 'telephone', 'unnamedSourcesPolicy', 'vatID'], 'validateJsonSchema'], |
|
691 | 691 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
692 | 692 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
693 | 693 | ]); |
@@ -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(); |
@@ -428,7 +428,7 @@ discard block |
||
428 | 428 | */ |
429 | 429 | static protected $_schemaPropertyExpectedTypes = [ |
430 | 430 | 'additionalProperty' => ['PropertyValue'], |
431 | - 'address' => ['PostalAddress','Text'], |
|
431 | + 'address' => ['PostalAddress', 'Text'], |
|
432 | 432 | 'aggregateRating' => ['AggregateRating'], |
433 | 433 | 'amenityFeature' => ['LocationFeatureSpecification'], |
434 | 434 | 'branchCode' => ['Text'], |
@@ -436,25 +436,25 @@ discard block |
||
436 | 436 | 'containsPlace' => ['Place'], |
437 | 437 | 'event' => ['Event'], |
438 | 438 | 'faxNumber' => ['Text'], |
439 | - 'geo' => ['GeoCoordinates','GeoShape'], |
|
440 | - 'geospatiallyContains' => ['GeospatialGeometry','Place'], |
|
441 | - 'geospatiallyCoveredBy' => ['GeospatialGeometry','Place'], |
|
442 | - 'geospatiallyCovers' => ['GeospatialGeometry','Place'], |
|
443 | - 'geospatiallyCrosses' => ['GeospatialGeometry','Place'], |
|
444 | - 'geospatiallyDisjoint' => ['GeospatialGeometry','Place'], |
|
445 | - 'geospatiallyEquals' => ['GeospatialGeometry','Place'], |
|
446 | - 'geospatiallyIntersects' => ['GeospatialGeometry','Place'], |
|
447 | - 'geospatiallyOverlaps' => ['GeospatialGeometry','Place'], |
|
448 | - 'geospatiallyTouches' => ['GeospatialGeometry','Place'], |
|
449 | - 'geospatiallyWithin' => ['GeospatialGeometry','Place'], |
|
439 | + 'geo' => ['GeoCoordinates', 'GeoShape'], |
|
440 | + 'geospatiallyContains' => ['GeospatialGeometry', 'Place'], |
|
441 | + 'geospatiallyCoveredBy' => ['GeospatialGeometry', 'Place'], |
|
442 | + 'geospatiallyCovers' => ['GeospatialGeometry', 'Place'], |
|
443 | + 'geospatiallyCrosses' => ['GeospatialGeometry', 'Place'], |
|
444 | + 'geospatiallyDisjoint' => ['GeospatialGeometry', 'Place'], |
|
445 | + 'geospatiallyEquals' => ['GeospatialGeometry', 'Place'], |
|
446 | + 'geospatiallyIntersects' => ['GeospatialGeometry', 'Place'], |
|
447 | + 'geospatiallyOverlaps' => ['GeospatialGeometry', 'Place'], |
|
448 | + 'geospatiallyTouches' => ['GeospatialGeometry', 'Place'], |
|
449 | + 'geospatiallyWithin' => ['GeospatialGeometry', 'Place'], |
|
450 | 450 | 'globalLocationNumber' => ['Text'], |
451 | - 'hasMap' => ['Map','URL'], |
|
451 | + 'hasMap' => ['Map', 'URL'], |
|
452 | 452 | 'isAccessibleForFree' => ['Boolean'], |
453 | 453 | 'isicV4' => ['Text'], |
454 | - 'logo' => ['ImageObject','URL'], |
|
454 | + 'logo' => ['ImageObject', 'URL'], |
|
455 | 455 | 'maximumAttendeeCapacity' => ['Integer'], |
456 | 456 | 'openingHoursSpecification' => ['OpeningHoursSpecification'], |
457 | - 'photo' => ['ImageObject','Photograph'], |
|
457 | + 'photo' => ['ImageObject', 'Photograph'], |
|
458 | 458 | 'publicAccess' => ['Boolean'], |
459 | 459 | 'review' => ['Review'], |
460 | 460 | 'smokingAllowed' => ['Boolean'], |
@@ -561,7 +561,7 @@ discard block |
||
561 | 561 | { |
562 | 562 | $rules = parent::rules(); |
563 | 563 | $rules = array_merge($rules, [ |
564 | - [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geospatiallyContains','geospatiallyCoveredBy','geospatiallyCovers','geospatiallyCrosses','geospatiallyDisjoint','geospatiallyEquals','geospatiallyIntersects','geospatiallyOverlaps','geospatiallyTouches','geospatiallyWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'], |
|
564 | + [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geospatiallyContains', 'geospatiallyCoveredBy', 'geospatiallyCovers', 'geospatiallyCrosses', 'geospatiallyDisjoint', 'geospatiallyEquals', 'geospatiallyIntersects', 'geospatiallyOverlaps', 'geospatiallyTouches', 'geospatiallyWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone'], 'validateJsonSchema'], |
|
565 | 565 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
566 | 566 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
567 | 567 | ]); |
@@ -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 | ]); |