@@ -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(); |
@@ -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(); |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | */ |
| 129 | 129 | static protected $_schemaPropertyExpectedTypes = [ |
| 130 | 130 | 'countryOfOrigin' => ['Country'], |
| 131 | - 'subtitleLanguage' => ['Language','Text'] |
|
| 131 | + 'subtitleLanguage' => ['Language', 'Text'] |
|
| 132 | 132 | ]; |
| 133 | 133 | |
| 134 | 134 | /** |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | { |
| 200 | 200 | $rules = parent::rules(); |
| 201 | 201 | $rules = array_merge($rules, [ |
| 202 | - [['countryOfOrigin','subtitleLanguage'], 'validateJsonSchema'], |
|
| 202 | + [['countryOfOrigin', 'subtitleLanguage'], '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(); |
@@ -180,9 +180,9 @@ discard block |
||
| 180 | 180 | */ |
| 181 | 181 | static protected $_schemaPropertyExpectedTypes = [ |
| 182 | 182 | 'actor' => ['Person'], |
| 183 | - 'caption' => ['MediaObject','Text'], |
|
| 183 | + 'caption' => ['MediaObject', 'Text'], |
|
| 184 | 184 | 'director' => ['Person'], |
| 185 | - 'musicBy' => ['MusicGroup','Person'], |
|
| 185 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
| 186 | 186 | 'thumbnail' => ['ImageObject'], |
| 187 | 187 | 'transcript' => ['Text'], |
| 188 | 188 | 'videoFrameSize' => ['Text'], |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | { |
| 264 | 264 | $rules = parent::rules(); |
| 265 | 265 | $rules = array_merge($rules, [ |
| 266 | - [['actor','caption','director','musicBy','thumbnail','transcript','videoFrameSize','videoQuality'], 'validateJsonSchema'], |
|
| 266 | + [['actor', 'caption', 'director', 'musicBy', 'thumbnail', 'transcript', 'videoFrameSize', 'videoQuality'], 'validateJsonSchema'], |
|
| 267 | 267 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 268 | 268 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 269 | 269 | ]); |
@@ -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(); |
@@ -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(); |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | * @var array |
| 139 | 139 | */ |
| 140 | 140 | static protected $_schemaPropertyExpectedTypes = [ |
| 141 | - 'interactionService' => ['SoftwareApplication','WebSite'], |
|
| 141 | + 'interactionService' => ['SoftwareApplication', 'WebSite'], |
|
| 142 | 142 | 'interactionType' => ['Action'], |
| 143 | 143 | 'userInteractionCount' => ['Integer'] |
| 144 | 144 | ]; |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | { |
| 213 | 213 | $rules = parent::rules(); |
| 214 | 214 | $rules = array_merge($rules, [ |
| 215 | - [['interactionService','interactionType','userInteractionCount'], 'validateJsonSchema'], |
|
| 215 | + [['interactionService', 'interactionType', 'userInteractionCount'], 'validateJsonSchema'], |
|
| 216 | 216 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 217 | 217 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 218 | 218 | ]); |
@@ -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(); |
@@ -196,11 +196,11 @@ discard block |
||
| 196 | 196 | static protected $_schemaPropertyExpectedTypes = [ |
| 197 | 197 | 'articleBody' => ['Text'], |
| 198 | 198 | 'articleSection' => ['Text'], |
| 199 | - 'backstory' => ['CreativeWork','Text'], |
|
| 200 | - 'pageEnd' => ['Integer','Text'], |
|
| 201 | - 'pageStart' => ['Integer','Text'], |
|
| 199 | + 'backstory' => ['CreativeWork', 'Text'], |
|
| 200 | + 'pageEnd' => ['Integer', 'Text'], |
|
| 201 | + 'pageStart' => ['Integer', 'Text'], |
|
| 202 | 202 | 'pagination' => ['Text'], |
| 203 | - 'speakable' => ['SpeakableSpecification','URL'], |
|
| 203 | + 'speakable' => ['SpeakableSpecification', 'URL'], |
|
| 204 | 204 | 'wordCount' => ['Integer'] |
| 205 | 205 | ]; |
| 206 | 206 | |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | { |
| 279 | 279 | $rules = parent::rules(); |
| 280 | 280 | $rules = array_merge($rules, [ |
| 281 | - [['articleBody','articleSection','backstory','pageEnd','pageStart','pagination','speakable','wordCount'], 'validateJsonSchema'], |
|
| 281 | + [['articleBody', 'articleSection', 'backstory', 'pageEnd', 'pageStart', 'pagination', 'speakable', 'wordCount'], 'validateJsonSchema'], |
|
| 282 | 282 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 283 | 283 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 284 | 284 | ]); |