@@ -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(); |
@@ -202,7 +202,7 @@ |
||
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
204 | 204 | $rules = array_merge($rules, [ |
205 | - [['fromLocation','toLocation'], 'validateJsonSchema'], |
|
205 | + [['fromLocation', 'toLocation'], 'validateJsonSchema'], |
|
206 | 206 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
207 | 207 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
208 | 208 | ]); |
@@ -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(); |
@@ -202,7 +202,7 @@ |
||
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
204 | 204 | $rules = array_merge($rules, [ |
205 | - [['fromLocation','toLocation'], 'validateJsonSchema'], |
|
205 | + [['fromLocation', 'toLocation'], 'validateJsonSchema'], |
|
206 | 206 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
207 | 207 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
208 | 208 | ]); |
@@ -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(); |
@@ -186,15 +186,15 @@ discard block |
||
186 | 186 | * @var array |
187 | 187 | */ |
188 | 188 | static protected $_schemaPropertyExpectedTypes = [ |
189 | - 'bccRecipient' => ['ContactPoint','Organization','Person'], |
|
190 | - 'ccRecipient' => ['ContactPoint','Organization','Person'], |
|
191 | - 'dateRead' => ['Date','DateTime'], |
|
189 | + 'bccRecipient' => ['ContactPoint', 'Organization', 'Person'], |
|
190 | + 'ccRecipient' => ['ContactPoint', 'Organization', 'Person'], |
|
191 | + 'dateRead' => ['Date', 'DateTime'], |
|
192 | 192 | 'dateReceived' => ['DateTime'], |
193 | 193 | 'dateSent' => ['DateTime'], |
194 | 194 | 'messageAttachment' => ['CreativeWork'], |
195 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'], |
|
196 | - 'sender' => ['Audience','Organization','Person'], |
|
197 | - 'toRecipient' => ['Audience','ContactPoint','Organization','Person'] |
|
195 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'], |
|
196 | + 'sender' => ['Audience', 'Organization', 'Person'], |
|
197 | + 'toRecipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
198 | 198 | ]; |
199 | 199 | |
200 | 200 | /** |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | { |
273 | 273 | $rules = parent::rules(); |
274 | 274 | $rules = array_merge($rules, [ |
275 | - [['bccRecipient','ccRecipient','dateRead','dateReceived','dateSent','messageAttachment','recipient','sender','toRecipient'], 'validateJsonSchema'], |
|
275 | + [['bccRecipient', 'ccRecipient', 'dateRead', 'dateReceived', 'dateSent', 'messageAttachment', 'recipient', 'sender', 'toRecipient'], 'validateJsonSchema'], |
|
276 | 276 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
277 | 277 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
278 | 278 | ]); |
@@ -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(); |
@@ -268,14 +268,14 @@ discard block |
||
268 | 268 | 'amenityFeature' => ['LocationFeatureSpecification'], |
269 | 269 | 'floorLevel' => ['Text'], |
270 | 270 | 'floorSize' => ['QuantitativeValue'], |
271 | - 'leaseLength' => ['Duration','QuantitativeValue'], |
|
271 | + 'leaseLength' => ['Duration', 'QuantitativeValue'], |
|
272 | 272 | 'numberOfBathroomsTotal' => ['Integer'], |
273 | - 'numberOfBedrooms' => ['Number','QuantitativeValue'], |
|
273 | + 'numberOfBedrooms' => ['Number', 'QuantitativeValue'], |
|
274 | 274 | 'numberOfFullBathrooms' => ['Number'], |
275 | 275 | 'numberOfPartialBathrooms' => ['Number'], |
276 | - 'numberOfRooms' => ['Number','QuantitativeValue'], |
|
276 | + 'numberOfRooms' => ['Number', 'QuantitativeValue'], |
|
277 | 277 | 'permittedUsage' => ['Text'], |
278 | - 'petsAllowed' => ['Boolean','Text'], |
|
278 | + 'petsAllowed' => ['Boolean', 'Text'], |
|
279 | 279 | 'tourBookingPage' => ['URL'], |
280 | 280 | 'yearBuilt' => ['Number'] |
281 | 281 | ]; |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | { |
362 | 362 | $rules = parent::rules(); |
363 | 363 | $rules = array_merge($rules, [ |
364 | - [['accommodationCategory','accommodationFloorPlan','amenityFeature','floorLevel','floorSize','leaseLength','numberOfBathroomsTotal','numberOfBedrooms','numberOfFullBathrooms','numberOfPartialBathrooms','numberOfRooms','permittedUsage','petsAllowed','tourBookingPage','yearBuilt'], 'validateJsonSchema'], |
|
364 | + [['accommodationCategory', 'accommodationFloorPlan', 'amenityFeature', 'floorLevel', 'floorSize', 'leaseLength', 'numberOfBathroomsTotal', 'numberOfBedrooms', 'numberOfFullBathrooms', 'numberOfPartialBathrooms', 'numberOfRooms', 'permittedUsage', 'petsAllowed', 'tourBookingPage', 'yearBuilt'], 'validateJsonSchema'], |
|
365 | 365 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
366 | 366 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
367 | 367 | ]); |
@@ -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(); |
@@ -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(); |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | * @var array |
226 | 226 | */ |
227 | 227 | static protected $_schemaPropertyExpectedTypes = [ |
228 | - 'aircraft' => ['Text','Vehicle'], |
|
228 | + 'aircraft' => ['Text', 'Vehicle'], |
|
229 | 229 | 'arrivalAirport' => ['Airport'], |
230 | 230 | 'arrivalGate' => ['Text'], |
231 | 231 | 'arrivalTerminal' => ['Text'], |
@@ -233,11 +233,11 @@ discard block |
||
233 | 233 | 'departureAirport' => ['Airport'], |
234 | 234 | 'departureGate' => ['Text'], |
235 | 235 | 'departureTerminal' => ['Text'], |
236 | - 'estimatedFlightDuration' => ['Duration','Text'], |
|
237 | - 'flightDistance' => ['Distance','Text'], |
|
236 | + 'estimatedFlightDuration' => ['Duration', 'Text'], |
|
237 | + 'flightDistance' => ['Distance', 'Text'], |
|
238 | 238 | 'flightNumber' => ['Text'], |
239 | 239 | 'mealService' => ['Text'], |
240 | - 'seller' => ['Organization','Person'], |
|
240 | + 'seller' => ['Organization', 'Person'], |
|
241 | 241 | 'webCheckinTime' => ['DateTime'] |
242 | 242 | ]; |
243 | 243 | |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | { |
322 | 322 | $rules = parent::rules(); |
323 | 323 | $rules = array_merge($rules, [ |
324 | - [['aircraft','arrivalAirport','arrivalGate','arrivalTerminal','boardingPolicy','departureAirport','departureGate','departureTerminal','estimatedFlightDuration','flightDistance','flightNumber','mealService','seller','webCheckinTime'], 'validateJsonSchema'], |
|
324 | + [['aircraft', 'arrivalAirport', 'arrivalGate', 'arrivalTerminal', 'boardingPolicy', 'departureAirport', 'departureGate', 'departureTerminal', 'estimatedFlightDuration', 'flightDistance', 'flightNumber', 'mealService', 'seller', 'webCheckinTime'], 'validateJsonSchema'], |
|
325 | 325 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
326 | 326 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
327 | 327 | ]); |
@@ -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(); |
@@ -296,27 +296,27 @@ discard block |
||
296 | 296 | * @var array |
297 | 297 | */ |
298 | 298 | static protected $_schemaPropertyExpectedTypes = [ |
299 | - 'applicationCategory' => ['Text','URL'], |
|
300 | - 'applicationSubCategory' => ['Text','URL'], |
|
299 | + 'applicationCategory' => ['Text', 'URL'], |
|
300 | + 'applicationSubCategory' => ['Text', 'URL'], |
|
301 | 301 | 'applicationSuite' => ['Text'], |
302 | 302 | 'availableOnDevice' => ['Text'], |
303 | 303 | 'countriesNotSupported' => ['Text'], |
304 | 304 | 'countriesSupported' => ['Text'], |
305 | 305 | 'downloadUrl' => ['URL'], |
306 | - 'featureList' => ['Text','URL'], |
|
306 | + 'featureList' => ['Text', 'URL'], |
|
307 | 307 | 'fileSize' => ['Text'], |
308 | 308 | 'installUrl' => ['URL'], |
309 | - 'memoryRequirements' => ['Text','URL'], |
|
309 | + 'memoryRequirements' => ['Text', 'URL'], |
|
310 | 310 | 'operatingSystem' => ['Text'], |
311 | 311 | 'permissions' => ['Text'], |
312 | 312 | 'processorRequirements' => ['Text'], |
313 | - 'releaseNotes' => ['Text','URL'], |
|
314 | - 'screenshot' => ['ImageObject','URL'], |
|
313 | + 'releaseNotes' => ['Text', 'URL'], |
|
314 | + 'screenshot' => ['ImageObject', 'URL'], |
|
315 | 315 | 'softwareAddOn' => ['SoftwareApplication'], |
316 | 316 | 'softwareHelp' => ['CreativeWork'], |
317 | - 'softwareRequirements' => ['Text','URL'], |
|
317 | + 'softwareRequirements' => ['Text', 'URL'], |
|
318 | 318 | 'softwareVersion' => ['Text'], |
319 | - 'storageRequirements' => ['Text','URL'], |
|
319 | + 'storageRequirements' => ['Text', 'URL'], |
|
320 | 320 | 'supportingData' => ['DataFeed'] |
321 | 321 | ]; |
322 | 322 | |
@@ -408,7 +408,7 @@ discard block |
||
408 | 408 | { |
409 | 409 | $rules = parent::rules(); |
410 | 410 | $rules = array_merge($rules, [ |
411 | - [['applicationCategory','applicationSubCategory','applicationSuite','availableOnDevice','countriesNotSupported','countriesSupported','downloadUrl','featureList','fileSize','installUrl','memoryRequirements','operatingSystem','permissions','processorRequirements','releaseNotes','screenshot','softwareAddOn','softwareHelp','softwareRequirements','softwareVersion','storageRequirements','supportingData'], 'validateJsonSchema'], |
|
411 | + [['applicationCategory', 'applicationSubCategory', 'applicationSuite', 'availableOnDevice', 'countriesNotSupported', 'countriesSupported', 'downloadUrl', 'featureList', 'fileSize', 'installUrl', 'memoryRequirements', 'operatingSystem', 'permissions', 'processorRequirements', 'releaseNotes', 'screenshot', 'softwareAddOn', 'softwareHelp', 'softwareRequirements', 'softwareVersion', 'storageRequirements', 'supportingData'], 'validateJsonSchema'], |
|
412 | 412 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
413 | 413 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
414 | 414 | ]); |
@@ -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 | ]); |