@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | 'lesser' => ['QualitativeValue'], |
194 | 194 | 'lesserOrEqual' => ['QualitativeValue'], |
195 | 195 | 'nonEqual' => ['QualitativeValue'], |
196 | - 'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue'] |
|
196 | + 'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue'] |
|
197 | 197 | ]; |
198 | 198 | |
199 | 199 | /** |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | { |
271 | 271 | $rules = parent::rules(); |
272 | 272 | $rules = array_merge($rules, [ |
273 | - [['additionalProperty','equal','greater','greaterOrEqual','lesser','lesserOrEqual','nonEqual','valueReference'], 'validateJsonSchema'], |
|
273 | + [['additionalProperty', 'equal', 'greater', 'greaterOrEqual', 'lesser', 'lesserOrEqual', 'nonEqual', 'valueReference'], '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(); |
@@ -183,14 +183,14 @@ discard block |
||
183 | 183 | * @var array |
184 | 184 | */ |
185 | 185 | static protected $_schemaPropertyExpectedTypes = [ |
186 | - 'dateIssued' => ['Date','DateTime'], |
|
186 | + 'dateIssued' => ['Date', 'DateTime'], |
|
187 | 187 | 'issuedBy' => ['Organization'], |
188 | 188 | 'priceCurrency' => ['Text'], |
189 | 189 | 'ticketNumber' => ['Text'], |
190 | - 'ticketToken' => ['Text','URL'], |
|
190 | + 'ticketToken' => ['Text', 'URL'], |
|
191 | 191 | 'ticketedSeat' => ['Seat'], |
192 | - 'totalPrice' => ['Number','PriceSpecification','Text'], |
|
193 | - 'underName' => ['Organization','Person'] |
|
192 | + 'totalPrice' => ['Number', 'PriceSpecification', 'Text'], |
|
193 | + 'underName' => ['Organization', 'Person'] |
|
194 | 194 | ]; |
195 | 195 | |
196 | 196 | /** |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | { |
268 | 268 | $rules = parent::rules(); |
269 | 269 | $rules = array_merge($rules, [ |
270 | - [['dateIssued','issuedBy','priceCurrency','ticketNumber','ticketToken','ticketedSeat','totalPrice','underName'], 'validateJsonSchema'], |
|
270 | + [['dateIssued', 'issuedBy', 'priceCurrency', 'ticketNumber', 'ticketToken', 'ticketedSeat', 'totalPrice', 'underName'], 'validateJsonSchema'], |
|
271 | 271 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
272 | 272 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
273 | 273 | ]); |
@@ -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(); |
@@ -222,15 +222,15 @@ discard block |
||
222 | 222 | */ |
223 | 223 | static protected $_schemaPropertyExpectedTypes = [ |
224 | 224 | 'actionStatus' => ['ActionStatusType'], |
225 | - 'agent' => ['Organization','Person'], |
|
226 | - 'endTime' => ['DateTime','Time'], |
|
225 | + 'agent' => ['Organization', 'Person'], |
|
226 | + 'endTime' => ['DateTime', 'Time'], |
|
227 | 227 | 'error' => ['Thing'], |
228 | 228 | 'instrument' => ['Thing'], |
229 | - 'location' => ['Place','PostalAddress','Text','VirtualLocation'], |
|
229 | + 'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'], |
|
230 | 230 | 'object' => ['Thing'], |
231 | - 'participant' => ['Organization','Person'], |
|
231 | + 'participant' => ['Organization', 'Person'], |
|
232 | 232 | 'result' => ['Thing'], |
233 | - 'startTime' => ['DateTime','Time'], |
|
233 | + 'startTime' => ['DateTime', 'Time'], |
|
234 | 234 | 'target' => ['EntryPoint'] |
235 | 235 | ]; |
236 | 236 | |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | { |
312 | 312 | $rules = parent::rules(); |
313 | 313 | $rules = array_merge($rules, [ |
314 | - [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'], |
|
314 | + [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'], |
|
315 | 315 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
316 | 316 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
317 | 317 | ]); |
@@ -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,8 +139,8 @@ discard block |
||
139 | 139 | */ |
140 | 140 | static protected $_schemaPropertyExpectedTypes = [ |
141 | 141 | 'about' => ['Thing'], |
142 | - 'inLanguage' => ['Language','Text'], |
|
143 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'] |
|
142 | + 'inLanguage' => ['Language', 'Text'], |
|
143 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
144 | 144 | ]; |
145 | 145 | |
146 | 146 | /** |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | { |
213 | 213 | $rules = parent::rules(); |
214 | 214 | $rules = array_merge($rules, [ |
215 | - [['about','inLanguage','recipient'], 'validateJsonSchema'], |
|
215 | + [['about', 'inLanguage', 'recipient'], 'validateJsonSchema'], |
|
216 | 216 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
217 | 217 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
218 | 218 | ]); |
@@ -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(); |
@@ -215,18 +215,18 @@ discard block |
||
215 | 215 | * @var array |
216 | 216 | */ |
217 | 217 | static protected $_schemaPropertyExpectedTypes = [ |
218 | - 'artEdition' => ['Integer','Text'], |
|
219 | - 'artMedium' => ['Text','URL'], |
|
220 | - 'artform' => ['Text','URL'], |
|
218 | + 'artEdition' => ['Integer', 'Text'], |
|
219 | + 'artMedium' => ['Text', 'URL'], |
|
220 | + 'artform' => ['Text', 'URL'], |
|
221 | 221 | 'artist' => ['Person'], |
222 | - 'artworkSurface' => ['Text','URL'], |
|
222 | + 'artworkSurface' => ['Text', 'URL'], |
|
223 | 223 | 'colorist' => ['Person'], |
224 | - 'depth' => ['Distance','QuantitativeValue'], |
|
225 | - 'height' => ['Distance','QuantitativeValue'], |
|
224 | + 'depth' => ['Distance', 'QuantitativeValue'], |
|
225 | + 'height' => ['Distance', 'QuantitativeValue'], |
|
226 | 226 | 'inker' => ['Person'], |
227 | 227 | 'letterer' => ['Person'], |
228 | 228 | 'penciler' => ['Person'], |
229 | - 'width' => ['Distance','QuantitativeValue'] |
|
229 | + 'width' => ['Distance', 'QuantitativeValue'] |
|
230 | 230 | ]; |
231 | 231 | |
232 | 232 | /** |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | { |
308 | 308 | $rules = parent::rules(); |
309 | 309 | $rules = array_merge($rules, [ |
310 | - [['artEdition','artMedium','artform','artist','artworkSurface','colorist','depth','height','inker','letterer','penciler','width'], 'validateJsonSchema'], |
|
310 | + [['artEdition', 'artMedium', 'artform', 'artist', 'artworkSurface', 'colorist', 'depth', 'height', 'inker', 'letterer', 'penciler', 'width'], 'validateJsonSchema'], |
|
311 | 311 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
312 | 312 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
313 | 313 | ]); |
@@ -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(); |