@@ -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(); |
@@ -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'], |
|
189 | + 'bccRecipient' => ['ContactPoint', 'Organization', 'Person'], |
|
190 | + 'ccRecipient' => ['ContactPoint', 'Organization', 'Person'], |
|
191 | 191 | 'dateRead' => ['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(); |
@@ -164,9 +164,9 @@ discard block |
||
164 | 164 | static protected $_schemaPropertyExpectedTypes = [ |
165 | 165 | 'amenityFeature' => ['LocationFeatureSpecification'], |
166 | 166 | 'floorSize' => ['QuantitativeValue'], |
167 | - 'numberOfRooms' => ['Number','QuantitativeValue'], |
|
167 | + 'numberOfRooms' => ['Number', 'QuantitativeValue'], |
|
168 | 168 | 'permittedUsage' => ['Text'], |
169 | - 'petsAllowed' => ['Boolean','Text'] |
|
169 | + 'petsAllowed' => ['Boolean', 'Text'] |
|
170 | 170 | ]; |
171 | 171 | |
172 | 172 | /** |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | { |
241 | 241 | $rules = parent::rules(); |
242 | 242 | $rules = array_merge($rules, [ |
243 | - [['amenityFeature','floorSize','numberOfRooms','permittedUsage','petsAllowed'], 'validateJsonSchema'], |
|
243 | + [['amenityFeature', 'floorSize', 'numberOfRooms', 'permittedUsage', 'petsAllowed'], 'validateJsonSchema'], |
|
244 | 244 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
245 | 245 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
246 | 246 | ]); |
@@ -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(); |
@@ -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(); |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | * @var array |
253 | 253 | */ |
254 | 254 | static protected $_schemaPropertyExpectedTypes = [ |
255 | - 'aircraft' => ['Text','Vehicle'], |
|
255 | + 'aircraft' => ['Text', 'Vehicle'], |
|
256 | 256 | 'arrivalAirport' => ['Airport'], |
257 | 257 | 'arrivalGate' => ['Text'], |
258 | 258 | 'arrivalTerminal' => ['Text'], |
@@ -262,12 +262,12 @@ discard block |
||
262 | 262 | 'departureGate' => ['Text'], |
263 | 263 | 'departureTerminal' => ['Text'], |
264 | 264 | 'departureTime' => ['DateTime'], |
265 | - 'estimatedFlightDuration' => ['Duration','Text'], |
|
266 | - 'flightDistance' => ['Distance','Text'], |
|
265 | + 'estimatedFlightDuration' => ['Duration', 'Text'], |
|
266 | + 'flightDistance' => ['Distance', 'Text'], |
|
267 | 267 | 'flightNumber' => ['Text'], |
268 | 268 | 'mealService' => ['Text'], |
269 | - 'provider' => ['Organization','Person'], |
|
270 | - 'seller' => ['Organization','Person'], |
|
269 | + 'provider' => ['Organization', 'Person'], |
|
270 | + 'seller' => ['Organization', 'Person'], |
|
271 | 271 | 'webCheckinTime' => ['DateTime'] |
272 | 272 | ]; |
273 | 273 | |
@@ -354,7 +354,7 @@ discard block |
||
354 | 354 | { |
355 | 355 | $rules = parent::rules(); |
356 | 356 | $rules = array_merge($rules, [ |
357 | - [['aircraft','arrivalAirport','arrivalGate','arrivalTerminal','arrivalTime','boardingPolicy','departureAirport','departureGate','departureTerminal','departureTime','estimatedFlightDuration','flightDistance','flightNumber','mealService','provider','seller','webCheckinTime'], 'validateJsonSchema'], |
|
357 | + [['aircraft', 'arrivalAirport', 'arrivalGate', 'arrivalTerminal', 'arrivalTime', 'boardingPolicy', 'departureAirport', 'departureGate', 'departureTerminal', 'departureTime', 'estimatedFlightDuration', 'flightDistance', 'flightNumber', 'mealService', 'provider', 'seller', 'webCheckinTime'], 'validateJsonSchema'], |
|
358 | 358 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
359 | 359 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
360 | 360 | ]); |