@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -217,9 +217,9 @@ discard block |
||
217 | 217 | 'alternateName' => ['Text'], |
218 | 218 | 'description' => ['Text'], |
219 | 219 | 'disambiguatingDescription' => ['Text'], |
220 | - 'identifier' => ['PropertyValue','Text','URL'], |
|
221 | - 'image' => ['ImageObject','URL'], |
|
222 | - 'mainEntityOfPage' => ['CreativeWork','URL'], |
|
220 | + 'identifier' => ['PropertyValue', 'Text', 'URL'], |
|
221 | + 'image' => ['ImageObject', 'URL'], |
|
222 | + 'mainEntityOfPage' => ['CreativeWork', 'URL'], |
|
223 | 223 | 'name' => ['Text'], |
224 | 224 | 'potentialAction' => ['Action'], |
225 | 225 | 'sameAs' => ['URL'], |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | { |
304 | 304 | $rules = parent::rules(); |
305 | 305 | $rules = array_merge($rules, [ |
306 | - [['additionalType','alternateName','description','disambiguatingDescription','identifier','image','mainEntityOfPage','name','potentialAction','sameAs','url'], 'validateJsonSchema'], |
|
306 | + [['additionalType', 'alternateName', 'description', 'disambiguatingDescription', 'identifier', 'image', 'mainEntityOfPage', 'name', 'potentialAction', 'sameAs', 'url'], 'validateJsonSchema'], |
|
307 | 307 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
308 | 308 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
309 | 309 | ]); |
@@ -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(); |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | 'departurePlatform' => ['Text'], |
191 | 191 | 'departureStation' => ['TrainStation'], |
192 | 192 | 'departureTime' => ['DateTime'], |
193 | - 'provider' => ['Organization','Person'], |
|
193 | + 'provider' => ['Organization', 'Person'], |
|
194 | 194 | 'trainName' => ['Text'], |
195 | 195 | 'trainNumber' => ['Text'] |
196 | 196 | ]; |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | { |
271 | 271 | $rules = parent::rules(); |
272 | 272 | $rules = array_merge($rules, [ |
273 | - [['arrivalPlatform','arrivalStation','arrivalTime','departurePlatform','departureStation','departureTime','provider','trainName','trainNumber'], 'validateJsonSchema'], |
|
273 | + [['arrivalPlatform', 'arrivalStation', 'arrivalTime', 'departurePlatform', 'departureStation', 'departureTime', 'provider', 'trainName', 'trainNumber'], 'validateJsonSchema'], |
|
274 | 274 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
275 | 275 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
276 | 276 | ]); |
@@ -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(); |
@@ -297,7 +297,7 @@ |
||
297 | 297 | { |
298 | 298 | $rules = parent::rules(); |
299 | 299 | $rules = array_merge($rules, [ |
300 | - [['calories','carbohydrateContent','cholesterolContent','fatContent','fiberContent','proteinContent','saturatedFatContent','servingSize','sodiumContent','sugarContent','transFatContent','unsaturatedFatContent'], 'validateJsonSchema'], |
|
300 | + [['calories', 'carbohydrateContent', 'cholesterolContent', 'fatContent', 'fiberContent', 'proteinContent', 'saturatedFatContent', 'servingSize', 'sodiumContent', 'sugarContent', 'transFatContent', 'unsaturatedFatContent'], 'validateJsonSchema'], |
|
301 | 301 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
302 | 302 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
303 | 303 | ]); |
@@ -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(); |