@@ -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(); |
@@ -436,7 +436,7 @@ discard block |
||
436 | 436 | */ |
437 | 437 | static protected $_schemaPropertyExpectedTypes = [ |
438 | 438 | 'additionalProperty' => ['PropertyValue'], |
439 | - 'address' => ['PostalAddress','Text'], |
|
439 | + 'address' => ['PostalAddress', 'Text'], |
|
440 | 440 | 'aggregateRating' => ['AggregateRating'], |
441 | 441 | 'amenityFeature' => ['LocationFeatureSpecification'], |
442 | 442 | 'branchCode' => ['Text'], |
@@ -444,25 +444,25 @@ discard block |
||
444 | 444 | 'containsPlace' => ['Place'], |
445 | 445 | 'event' => ['Event'], |
446 | 446 | 'faxNumber' => ['Text'], |
447 | - 'geo' => ['GeoCoordinates','GeoShape'], |
|
448 | - 'geoContains' => ['GeospatialGeometry','Place'], |
|
449 | - 'geoCoveredBy' => ['GeospatialGeometry','Place'], |
|
450 | - 'geoCovers' => ['GeospatialGeometry','Place'], |
|
451 | - 'geoCrosses' => ['GeospatialGeometry','Place'], |
|
452 | - 'geoDisjoint' => ['GeospatialGeometry','Place'], |
|
453 | - 'geoEquals' => ['GeospatialGeometry','Place'], |
|
454 | - 'geoIntersects' => ['GeospatialGeometry','Place'], |
|
455 | - 'geoOverlaps' => ['GeospatialGeometry','Place'], |
|
456 | - 'geoTouches' => ['GeospatialGeometry','Place'], |
|
457 | - 'geoWithin' => ['GeospatialGeometry','Place'], |
|
447 | + 'geo' => ['GeoCoordinates', 'GeoShape'], |
|
448 | + 'geoContains' => ['GeospatialGeometry', 'Place'], |
|
449 | + 'geoCoveredBy' => ['GeospatialGeometry', 'Place'], |
|
450 | + 'geoCovers' => ['GeospatialGeometry', 'Place'], |
|
451 | + 'geoCrosses' => ['GeospatialGeometry', 'Place'], |
|
452 | + 'geoDisjoint' => ['GeospatialGeometry', 'Place'], |
|
453 | + 'geoEquals' => ['GeospatialGeometry', 'Place'], |
|
454 | + 'geoIntersects' => ['GeospatialGeometry', 'Place'], |
|
455 | + 'geoOverlaps' => ['GeospatialGeometry', 'Place'], |
|
456 | + 'geoTouches' => ['GeospatialGeometry', 'Place'], |
|
457 | + 'geoWithin' => ['GeospatialGeometry', 'Place'], |
|
458 | 458 | 'globalLocationNumber' => ['Text'], |
459 | - 'hasMap' => ['Map','URL'], |
|
459 | + 'hasMap' => ['Map', 'URL'], |
|
460 | 460 | 'isAccessibleForFree' => ['Boolean'], |
461 | 461 | 'isicV4' => ['Text'], |
462 | - 'logo' => ['ImageObject','URL'], |
|
462 | + 'logo' => ['ImageObject', 'URL'], |
|
463 | 463 | 'maximumAttendeeCapacity' => ['Integer'], |
464 | 464 | 'openingHoursSpecification' => ['OpeningHoursSpecification'], |
465 | - 'photo' => ['ImageObject','Photograph'], |
|
465 | + 'photo' => ['ImageObject', 'Photograph'], |
|
466 | 466 | 'publicAccess' => ['Boolean'], |
467 | 467 | 'review' => ['Review'], |
468 | 468 | 'slogan' => ['Text'], |
@@ -571,7 +571,7 @@ discard block |
||
571 | 571 | { |
572 | 572 | $rules = parent::rules(); |
573 | 573 | $rules = array_merge($rules, [ |
574 | - [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'], |
|
574 | + [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone'], 'validateJsonSchema'], |
|
575 | 575 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
576 | 576 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
577 | 577 | ]); |
@@ -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(); |
@@ -229,13 +229,13 @@ discard block |
||
229 | 229 | 'alternateName' => ['Text'], |
230 | 230 | 'description' => ['Text'], |
231 | 231 | 'disambiguatingDescription' => ['Text'], |
232 | - 'identifier' => ['PropertyValue','Text','URL'], |
|
233 | - 'image' => ['ImageObject','URL'], |
|
234 | - 'mainEntityOfPage' => ['CreativeWork','URL'], |
|
232 | + 'identifier' => ['PropertyValue', 'Text', 'URL'], |
|
233 | + 'image' => ['ImageObject', 'URL'], |
|
234 | + 'mainEntityOfPage' => ['CreativeWork', 'URL'], |
|
235 | 235 | 'name' => ['Text'], |
236 | 236 | 'potentialAction' => ['Action'], |
237 | 237 | 'sameAs' => ['URL'], |
238 | - 'subjectOf' => ['CreativeWork','Event'], |
|
238 | + 'subjectOf' => ['CreativeWork', 'Event'], |
|
239 | 239 | 'url' => ['URL'] |
240 | 240 | ]; |
241 | 241 | |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | { |
318 | 318 | $rules = parent::rules(); |
319 | 319 | $rules = array_merge($rules, [ |
320 | - [['additionalType','alternateName','description','disambiguatingDescription','identifier','image','mainEntityOfPage','name','potentialAction','sameAs','subjectOf','url'], 'validateJsonSchema'], |
|
320 | + [['additionalType', 'alternateName', 'description', 'disambiguatingDescription', 'identifier', 'image', 'mainEntityOfPage', 'name', 'potentialAction', 'sameAs', 'subjectOf', 'url'], 'validateJsonSchema'], |
|
321 | 321 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
322 | 322 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
323 | 323 | ]); |
@@ -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(); |
@@ -237,7 +237,7 @@ |
||
237 | 237 | { |
238 | 238 | $rules = parent::rules(); |
239 | 239 | $rules = array_merge($rules, [ |
240 | - [['arrivalPlatform','arrivalStation','departurePlatform','departureStation','trainName','trainNumber'], 'validateJsonSchema'], |
|
240 | + [['arrivalPlatform', 'arrivalStation', 'departurePlatform', 'departureStation', 'trainName', 'trainNumber'], 'validateJsonSchema'], |
|
241 | 241 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
242 | 242 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
243 | 243 | ]); |
@@ -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(); |
@@ -200,7 +200,7 @@ |
||
200 | 200 | { |
201 | 201 | $rules = parent::rules(); |
202 | 202 | $rules = array_merge($rules, [ |
203 | - [['actionAccessibilityRequirement','expectsAcceptanceOf'], 'validateJsonSchema'], |
|
203 | + [['actionAccessibilityRequirement', 'expectsAcceptanceOf'], 'validateJsonSchema'], |
|
204 | 204 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
205 | 205 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
206 | 206 | ]); |
@@ -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(); |
@@ -145,8 +145,8 @@ discard block |
||
145 | 145 | * @var array |
146 | 146 | */ |
147 | 147 | static protected $_schemaPropertyExpectedTypes = [ |
148 | - 'highPrice' => ['Number','Text'], |
|
149 | - 'lowPrice' => ['Number','Text'], |
|
148 | + 'highPrice' => ['Number', 'Text'], |
|
149 | + 'lowPrice' => ['Number', 'Text'], |
|
150 | 150 | 'offerCount' => ['Integer'], |
151 | 151 | 'offers' => ['Offer'] |
152 | 152 | ]; |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | { |
222 | 222 | $rules = parent::rules(); |
223 | 223 | $rules = array_merge($rules, [ |
224 | - [['highPrice','lowPrice','offerCount','offers'], 'validateJsonSchema'], |
|
224 | + [['highPrice', 'lowPrice', 'offerCount', 'offers'], 'validateJsonSchema'], |
|
225 | 225 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
226 | 226 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
227 | 227 | ]); |