@@ -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(); |
@@ -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(); |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | 'actor' => ['Person'], |
182 | 182 | 'caption' => ['Text'], |
183 | 183 | 'director' => ['Person'], |
184 | - 'musicBy' => ['MusicGroup','Person'], |
|
184 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
185 | 185 | 'thumbnail' => ['ImageObject'], |
186 | 186 | 'transcript' => ['Text'], |
187 | 187 | 'videoFrameSize' => ['Text'], |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | { |
263 | 263 | $rules = parent::rules(); |
264 | 264 | $rules = array_merge($rules, [ |
265 | - [['actor','caption','director','musicBy','thumbnail','transcript','videoFrameSize','videoQuality'], 'validateJsonSchema'], |
|
265 | + [['actor', 'caption', 'director', 'musicBy', 'thumbnail', 'transcript', 'videoFrameSize', 'videoQuality'], 'validateJsonSchema'], |
|
266 | 266 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
267 | 267 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
268 | 268 | ]); |
@@ -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(); |
@@ -288,25 +288,25 @@ discard block |
||
288 | 288 | */ |
289 | 289 | static protected $_schemaPropertyExpectedTypes = [ |
290 | 290 | 'aggregateRating' => ['AggregateRating'], |
291 | - 'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'], |
|
291 | + 'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'], |
|
292 | 292 | 'audience' => ['Audience'], |
293 | 293 | 'availableChannel' => ['ServiceChannel'], |
294 | 294 | 'award' => ['Text'], |
295 | - 'brand' => ['Brand','Organization'], |
|
296 | - 'broker' => ['Organization','Person'], |
|
297 | - 'category' => ['PhysicalActivityCategory','Text','Thing'], |
|
295 | + 'brand' => ['Brand', 'Organization'], |
|
296 | + 'broker' => ['Organization', 'Person'], |
|
297 | + 'category' => ['PhysicalActivityCategory', 'Text', 'Thing'], |
|
298 | 298 | 'hasOfferCatalog' => ['OfferCatalog'], |
299 | 299 | 'hoursAvailable' => ['OpeningHoursSpecification'], |
300 | - 'isRelatedTo' => ['Product','Service'], |
|
301 | - 'isSimilarTo' => ['Product','Service'], |
|
302 | - 'logo' => ['ImageObject','URL'], |
|
300 | + 'isRelatedTo' => ['Product', 'Service'], |
|
301 | + 'isSimilarTo' => ['Product', 'Service'], |
|
302 | + 'logo' => ['ImageObject', 'URL'], |
|
303 | 303 | 'offers' => ['Offer'], |
304 | - 'provider' => ['Organization','Person'], |
|
304 | + 'provider' => ['Organization', 'Person'], |
|
305 | 305 | 'providerMobility' => ['Text'], |
306 | 306 | 'review' => ['Review'], |
307 | 307 | 'serviceOutput' => ['Thing'], |
308 | 308 | 'serviceType' => ['Text'], |
309 | - 'termsOfService' => ['Text','URL'] |
|
309 | + 'termsOfService' => ['Text', 'URL'] |
|
310 | 310 | ]; |
311 | 311 | |
312 | 312 | /** |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | { |
396 | 396 | $rules = parent::rules(); |
397 | 397 | $rules = array_merge($rules, [ |
398 | - [['aggregateRating','areaServed','audience','availableChannel','award','brand','broker','category','hasOfferCatalog','hoursAvailable','isRelatedTo','isSimilarTo','logo','offers','provider','providerMobility','review','serviceOutput','serviceType','termsOfService'], 'validateJsonSchema'], |
|
398 | + [['aggregateRating', 'areaServed', 'audience', 'availableChannel', 'award', 'brand', 'broker', 'category', 'hasOfferCatalog', 'hoursAvailable', 'isRelatedTo', 'isSimilarTo', 'logo', 'offers', 'provider', 'providerMobility', 'review', 'serviceOutput', 'serviceType', 'termsOfService'], 'validateJsonSchema'], |
|
399 | 399 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
400 | 400 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
401 | 401 | ]); |
@@ -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(); |
@@ -187,10 +187,10 @@ discard block |
||
187 | 187 | static protected $_schemaPropertyExpectedTypes = [ |
188 | 188 | 'articleBody' => ['Text'], |
189 | 189 | 'articleSection' => ['Text'], |
190 | - 'pageEnd' => ['Integer','Text'], |
|
191 | - 'pageStart' => ['Integer','Text'], |
|
190 | + 'pageEnd' => ['Integer', 'Text'], |
|
191 | + 'pageStart' => ['Integer', 'Text'], |
|
192 | 192 | 'pagination' => ['Text'], |
193 | - 'speakable' => ['SpeakableSpecification','URL'], |
|
193 | + 'speakable' => ['SpeakableSpecification', 'URL'], |
|
194 | 194 | 'wordCount' => ['Integer'] |
195 | 195 | ]; |
196 | 196 | |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | { |
275 | 275 | $rules = parent::rules(); |
276 | 276 | $rules = array_merge($rules, [ |
277 | - [['articleBody','articleSection','pageEnd','pageStart','pagination','speakable','wordCount'], 'validateJsonSchema'], |
|
277 | + [['articleBody', 'articleSection', 'pageEnd', 'pageStart', 'pagination', 'speakable', 'wordCount'], '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 | ]); |