@@ -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(); |
@@ -126,7 +126,7 @@ |
||
126 | 126 | * @var array |
127 | 127 | */ |
128 | 128 | static protected $_schemaPropertyExpectedTypes = [ |
129 | - 'monthlyMinimumRepaymentAmount' => ['MonetaryAmount','Number'] |
|
129 | + 'monthlyMinimumRepaymentAmount' => ['MonetaryAmount', 'Number'] |
|
130 | 130 | ]; |
131 | 131 | |
132 | 132 | /** |
@@ -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(); |
@@ -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(); |
@@ -280,16 +280,16 @@ discard block |
||
280 | 280 | 'duration' => ['Duration'], |
281 | 281 | 'embedUrl' => ['URL'], |
282 | 282 | 'encodesCreativeWork' => ['CreativeWork'], |
283 | - 'encodingFormat' => ['Text','URL'], |
|
284 | - 'endTime' => ['DateTime','Time'], |
|
285 | - 'height' => ['Distance','QuantitativeValue'], |
|
283 | + 'encodingFormat' => ['Text', 'URL'], |
|
284 | + 'endTime' => ['DateTime', 'Time'], |
|
285 | + 'height' => ['Distance', 'QuantitativeValue'], |
|
286 | 286 | 'playerType' => ['Text'], |
287 | 287 | 'productionCompany' => ['Organization'], |
288 | 288 | 'regionsAllowed' => ['Place'], |
289 | - 'requiresSubscription' => ['Boolean','MediaSubscription'], |
|
290 | - 'startTime' => ['DateTime','Time'], |
|
289 | + 'requiresSubscription' => ['Boolean', 'MediaSubscription'], |
|
290 | + 'startTime' => ['DateTime', 'Time'], |
|
291 | 291 | 'uploadDate' => ['Date'], |
292 | - 'width' => ['Distance','QuantitativeValue'] |
|
292 | + 'width' => ['Distance', 'QuantitativeValue'] |
|
293 | 293 | ]; |
294 | 294 | |
295 | 295 | /** |
@@ -375,7 +375,7 @@ discard block |
||
375 | 375 | { |
376 | 376 | $rules = parent::rules(); |
377 | 377 | $rules = array_merge($rules, [ |
378 | - [['associatedArticle','bitrate','contentSize','contentUrl','duration','embedUrl','encodesCreativeWork','encodingFormat','endTime','height','playerType','productionCompany','regionsAllowed','requiresSubscription','startTime','uploadDate','width'], 'validateJsonSchema'], |
|
378 | + [['associatedArticle', 'bitrate', 'contentSize', 'contentUrl', 'duration', 'embedUrl', 'encodesCreativeWork', 'encodingFormat', 'endTime', 'height', 'playerType', 'productionCompany', 'regionsAllowed', 'requiresSubscription', 'startTime', 'uploadDate', 'width'], 'validateJsonSchema'], |
|
379 | 379 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
380 | 380 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
381 | 381 | ]); |
@@ -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(); |
@@ -211,7 +211,7 @@ |
||
211 | 211 | { |
212 | 212 | $rules = parent::rules(); |
213 | 213 | $rules = array_merge($rules, [ |
214 | - [['downvoteCount','parentItem','upvoteCount'], 'validateJsonSchema'], |
|
214 | + [['downvoteCount', 'parentItem', 'upvoteCount'], 'validateJsonSchema'], |
|
215 | 215 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
216 | 216 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
217 | 217 | ]); |
@@ -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(); |
@@ -242,7 +242,7 @@ |
||
242 | 242 | { |
243 | 243 | $rules = parent::rules(); |
244 | 244 | $rules = array_merge($rules, [ |
245 | - [['dateline','printColumn','printEdition','printPage','printSection'], 'validateJsonSchema'], |
|
245 | + [['dateline', 'printColumn', 'printEdition', 'printPage', 'printSection'], 'validateJsonSchema'], |
|
246 | 246 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
247 | 247 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
248 | 248 | ]); |
@@ -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(); |
@@ -139,9 +139,9 @@ discard block |
||
139 | 139 | * @var array |
140 | 140 | */ |
141 | 141 | static protected $_schemaPropertyExpectedTypes = [ |
142 | - 'annualPercentageRate' => ['Number','QuantitativeValue'], |
|
143 | - 'feesAndCommissionsSpecification' => ['Text','URL'], |
|
144 | - 'interestRate' => ['Number','QuantitativeValue'] |
|
142 | + 'annualPercentageRate' => ['Number', 'QuantitativeValue'], |
|
143 | + 'feesAndCommissionsSpecification' => ['Text', 'URL'], |
|
144 | + 'interestRate' => ['Number', 'QuantitativeValue'] |
|
145 | 145 | ]; |
146 | 146 | |
147 | 147 | /** |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | { |
214 | 214 | $rules = parent::rules(); |
215 | 215 | $rules = array_merge($rules, [ |
216 | - [['annualPercentageRate','feesAndCommissionsSpecification','interestRate'], 'validateJsonSchema'], |
|
216 | + [['annualPercentageRate', 'feesAndCommissionsSpecification', 'interestRate'], 'validateJsonSchema'], |
|
217 | 217 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
218 | 218 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
219 | 219 | ]); |
@@ -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,7 +145,7 @@ discard block |
||
145 | 145 | 'seatNumber' => ['Text'], |
146 | 146 | 'seatRow' => ['Text'], |
147 | 147 | 'seatSection' => ['Text'], |
148 | - 'seatingType' => ['QualitativeValue','Text'] |
|
148 | + 'seatingType' => ['QualitativeValue', 'Text'] |
|
149 | 149 | ]; |
150 | 150 | |
151 | 151 | /** |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | { |
219 | 219 | $rules = parent::rules(); |
220 | 220 | $rules = array_merge($rules, [ |
221 | - [['seatNumber','seatRow','seatSection','seatingType'], 'validateJsonSchema'], |
|
221 | + [['seatNumber', 'seatRow', 'seatSection', 'seatingType'], 'validateJsonSchema'], |
|
222 | 222 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
223 | 223 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
224 | 224 | ]); |