@@ -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(); |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * @var array |
122 | 122 | */ |
123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
125 | 125 | ]; |
126 | 126 | |
127 | 127 | /** |
@@ -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(); |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * @var array |
122 | 122 | */ |
123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
125 | 125 | ]; |
126 | 126 | |
127 | 127 | /** |
@@ -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(); |
@@ -486,41 +486,41 @@ discard block |
||
486 | 486 | * @var array |
487 | 487 | */ |
488 | 488 | static protected $_schemaPropertyExpectedTypes = [ |
489 | - 'acceptedPaymentMethod' => ['LoanOrCredit','PaymentMethod'], |
|
489 | + 'acceptedPaymentMethod' => ['LoanOrCredit', 'PaymentMethod'], |
|
490 | 490 | 'addOn' => ['Offer'], |
491 | 491 | 'advanceBookingRequirement' => ['QuantitativeValue'], |
492 | 492 | 'aggregateRating' => ['AggregateRating'], |
493 | - 'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'], |
|
493 | + 'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'], |
|
494 | 494 | 'availability' => ['ItemAvailability'], |
495 | 495 | 'availabilityEnds' => ['DateTime'], |
496 | 496 | 'availabilityStarts' => ['DateTime'], |
497 | 497 | 'availableAtOrFrom' => ['Place'], |
498 | 498 | 'availableDeliveryMethod' => ['DeliveryMethod'], |
499 | 499 | 'businessFunction' => ['BusinessFunction'], |
500 | - 'category' => ['PhysicalActivityCategory','Text','Thing'], |
|
500 | + 'category' => ['PhysicalActivityCategory', 'Text', 'Thing'], |
|
501 | 501 | 'deliveryLeadTime' => ['QuantitativeValue'], |
502 | 502 | 'eligibleCustomerType' => ['BusinessEntityType'], |
503 | 503 | 'eligibleDuration' => ['QuantitativeValue'], |
504 | 504 | 'eligibleQuantity' => ['QuantitativeValue'], |
505 | - 'eligibleRegion' => ['GeoShape','Place','Text'], |
|
505 | + 'eligibleRegion' => ['GeoShape', 'Place', 'Text'], |
|
506 | 506 | 'eligibleTransactionVolume' => ['PriceSpecification'], |
507 | 507 | 'gtin12' => ['Text'], |
508 | 508 | 'gtin13' => ['Text'], |
509 | 509 | 'gtin14' => ['Text'], |
510 | 510 | 'gtin8' => ['Text'], |
511 | 511 | 'includesObject' => ['TypeAndQuantityNode'], |
512 | - 'ineligibleRegion' => ['GeoShape','Place','Text'], |
|
512 | + 'ineligibleRegion' => ['GeoShape', 'Place', 'Text'], |
|
513 | 513 | 'inventoryLevel' => ['QuantitativeValue'], |
514 | 514 | 'itemCondition' => ['OfferItemCondition'], |
515 | - 'itemOffered' => ['Product','Service'], |
|
515 | + 'itemOffered' => ['Product', 'Service'], |
|
516 | 516 | 'mpn' => ['Text'], |
517 | - 'offeredBy' => ['Organization','Person'], |
|
518 | - 'price' => ['Number','Text'], |
|
517 | + 'offeredBy' => ['Organization', 'Person'], |
|
518 | + 'price' => ['Number', 'Text'], |
|
519 | 519 | 'priceCurrency' => ['Text'], |
520 | 520 | 'priceSpecification' => ['PriceSpecification'], |
521 | 521 | 'priceValidUntil' => ['Date'], |
522 | 522 | 'review' => ['Review'], |
523 | - 'seller' => ['Organization','Person'], |
|
523 | + 'seller' => ['Organization', 'Person'], |
|
524 | 524 | 'serialNumber' => ['Text'], |
525 | 525 | 'sku' => ['Text'], |
526 | 526 | 'validFrom' => ['DateTime'], |
@@ -634,7 +634,7 @@ discard block |
||
634 | 634 | { |
635 | 635 | $rules = parent::rules(); |
636 | 636 | $rules = array_merge($rules, [ |
637 | - [['acceptedPaymentMethod','addOn','advanceBookingRequirement','aggregateRating','areaServed','availability','availabilityEnds','availabilityStarts','availableAtOrFrom','availableDeliveryMethod','businessFunction','category','deliveryLeadTime','eligibleCustomerType','eligibleDuration','eligibleQuantity','eligibleRegion','eligibleTransactionVolume','gtin12','gtin13','gtin14','gtin8','includesObject','ineligibleRegion','inventoryLevel','itemCondition','itemOffered','mpn','offeredBy','price','priceCurrency','priceSpecification','priceValidUntil','review','seller','serialNumber','sku','validFrom','validThrough','warranty'], 'validateJsonSchema'], |
|
637 | + [['acceptedPaymentMethod', 'addOn', 'advanceBookingRequirement', 'aggregateRating', 'areaServed', 'availability', 'availabilityEnds', 'availabilityStarts', 'availableAtOrFrom', 'availableDeliveryMethod', 'businessFunction', 'category', 'deliveryLeadTime', 'eligibleCustomerType', 'eligibleDuration', 'eligibleQuantity', 'eligibleRegion', 'eligibleTransactionVolume', 'gtin12', 'gtin13', 'gtin14', 'gtin8', 'includesObject', 'ineligibleRegion', 'inventoryLevel', 'itemCondition', 'itemOffered', 'mpn', 'offeredBy', 'price', 'priceCurrency', 'priceSpecification', 'priceValidUntil', 'review', 'seller', 'serialNumber', 'sku', 'validFrom', 'validThrough', 'warranty'], 'validateJsonSchema'], |
|
638 | 638 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
639 | 639 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
640 | 640 | ]); |
@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -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(); |