@@ -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(); |
@@ -302,26 +302,26 @@ discard block |
||
| 302 | 302 | */ |
| 303 | 303 | static protected $_schemaPropertyExpectedTypes = [ |
| 304 | 304 | 'aggregateRating' => ['AggregateRating'], |
| 305 | - 'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'], |
|
| 305 | + 'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'], |
|
| 306 | 306 | 'audience' => ['Audience'], |
| 307 | 307 | 'availableChannel' => ['ServiceChannel'], |
| 308 | 308 | 'award' => ['Text'], |
| 309 | - 'brand' => ['Brand','Organization'], |
|
| 310 | - 'broker' => ['Organization','Person'], |
|
| 311 | - 'category' => ['PhysicalActivityCategory','Text','Thing'], |
|
| 309 | + 'brand' => ['Brand', 'Organization'], |
|
| 310 | + 'broker' => ['Organization', 'Person'], |
|
| 311 | + 'category' => ['PhysicalActivityCategory', 'Text', 'Thing'], |
|
| 312 | 312 | 'hasOfferCatalog' => ['OfferCatalog'], |
| 313 | 313 | 'hoursAvailable' => ['OpeningHoursSpecification'], |
| 314 | - 'isRelatedTo' => ['Product','Service'], |
|
| 315 | - 'isSimilarTo' => ['Product','Service'], |
|
| 316 | - 'logo' => ['ImageObject','URL'], |
|
| 317 | - 'offers' => ['Demand','Offer'], |
|
| 318 | - 'provider' => ['Organization','Person'], |
|
| 314 | + 'isRelatedTo' => ['Product', 'Service'], |
|
| 315 | + 'isSimilarTo' => ['Product', 'Service'], |
|
| 316 | + 'logo' => ['ImageObject', 'URL'], |
|
| 317 | + 'offers' => ['Demand', 'Offer'], |
|
| 318 | + 'provider' => ['Organization', 'Person'], |
|
| 319 | 319 | 'providerMobility' => ['Text'], |
| 320 | 320 | 'review' => ['Review'], |
| 321 | 321 | 'serviceOutput' => ['Thing'], |
| 322 | 322 | 'serviceType' => ['Text'], |
| 323 | 323 | 'slogan' => ['Text'], |
| 324 | - 'termsOfService' => ['Text','URL'] |
|
| 324 | + 'termsOfService' => ['Text', 'URL'] |
|
| 325 | 325 | ]; |
| 326 | 326 | |
| 327 | 327 | /** |
@@ -411,7 +411,7 @@ discard block |
||
| 411 | 411 | { |
| 412 | 412 | $rules = parent::rules(); |
| 413 | 413 | $rules = array_merge($rules, [ |
| 414 | - [['aggregateRating','areaServed','audience','availableChannel','award','brand','broker','category','hasOfferCatalog','hoursAvailable','isRelatedTo','isSimilarTo','logo','offers','provider','providerMobility','review','serviceOutput','serviceType','slogan','termsOfService'], 'validateJsonSchema'], |
|
| 414 | + [['aggregateRating', 'areaServed', 'audience', 'availableChannel', 'award', 'brand', 'broker', 'category', 'hasOfferCatalog', 'hoursAvailable', 'isRelatedTo', 'isSimilarTo', 'logo', 'offers', 'provider', 'providerMobility', 'review', 'serviceOutput', 'serviceType', 'slogan', 'termsOfService'], 'validateJsonSchema'], |
|
| 415 | 415 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 416 | 416 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 417 | 417 | ]); |
@@ -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(); |
@@ -304,7 +304,7 @@ |
||
| 304 | 304 | { |
| 305 | 305 | $rules = parent::rules(); |
| 306 | 306 | $rules = array_merge($rules, [ |
| 307 | - [['diet','distance','exerciseCourse','exercisePlan','exerciseRelatedDiet','exerciseType','fromLocation','opponent','sportsActivityLocation','sportsEvent','sportsTeam','toLocation'], 'validateJsonSchema'], |
|
| 307 | + [['diet', 'distance', 'exerciseCourse', 'exercisePlan', 'exerciseRelatedDiet', 'exerciseType', 'fromLocation', 'opponent', 'sportsActivityLocation', 'sportsEvent', 'sportsTeam', 'toLocation'], 'validateJsonSchema'], |
|
| 308 | 308 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 309 | 309 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 310 | 310 | ]); |
@@ -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(); |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | * @var array |
| 133 | 133 | */ |
| 134 | 134 | static protected $_schemaPropertyExpectedTypes = [ |
| 135 | - 'numberOfRooms' => ['Number','QuantitativeValue'], |
|
| 135 | + 'numberOfRooms' => ['Number', 'QuantitativeValue'], |
|
| 136 | 136 | 'occupancy' => ['QuantitativeValue'] |
| 137 | 137 | ]; |
| 138 | 138 | |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | { |
| 205 | 205 | $rules = parent::rules(); |
| 206 | 206 | $rules = array_merge($rules, [ |
| 207 | - [['numberOfRooms','occupancy'], 'validateJsonSchema'], |
|
| 207 | + [['numberOfRooms', 'occupancy'], 'validateJsonSchema'], |
|
| 208 | 208 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 209 | 209 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 210 | 210 | ]); |
@@ -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(); |
@@ -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(); |
@@ -144,9 +144,9 @@ discard block |
||
| 144 | 144 | * @var array |
| 145 | 145 | */ |
| 146 | 146 | static protected $_schemaPropertyExpectedTypes = [ |
| 147 | - 'issueNumber' => ['Integer','Text'], |
|
| 148 | - 'pageEnd' => ['Integer','Text'], |
|
| 149 | - 'pageStart' => ['Integer','Text'], |
|
| 147 | + 'issueNumber' => ['Integer', 'Text'], |
|
| 148 | + 'pageEnd' => ['Integer', 'Text'], |
|
| 149 | + 'pageStart' => ['Integer', 'Text'], |
|
| 150 | 150 | 'pagination' => ['Text'] |
| 151 | 151 | ]; |
| 152 | 152 | |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | { |
| 221 | 221 | $rules = parent::rules(); |
| 222 | 222 | $rules = array_merge($rules, [ |
| 223 | - [['issueNumber','pageEnd','pageStart','pagination'], 'validateJsonSchema'], |
|
| 223 | + [['issueNumber', 'pageEnd', 'pageStart', 'pagination'], 'validateJsonSchema'], |
|
| 224 | 224 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 225 | 225 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 226 | 226 | ]); |
@@ -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(); |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * @var array |
| 119 | 119 | */ |
| 120 | 120 | static protected $_schemaPropertyExpectedTypes = [ |
| 121 | - 'feesAndCommissionsSpecification' => ['Text','URL'] |
|
| 121 | + 'feesAndCommissionsSpecification' => ['Text', 'URL'] |
|
| 122 | 122 | ]; |
| 123 | 123 | |
| 124 | 124 | /** |
@@ -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(); |