@@ -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(); |
@@ -249,7 +249,7 @@ |
||
| 249 | 249 | { |
| 250 | 250 | $rules = parent::rules(); |
| 251 | 251 | $rules = array_merge($rules, [ |
| 252 | - [['healthCondition','requiredGender','requiredMaxAge','requiredMinAge','suggestedGender','suggestedMaxAge','suggestedMinAge'], 'validateJsonSchema'], |
|
| 252 | + [['healthCondition', 'requiredGender', 'requiredMaxAge', 'requiredMinAge', 'suggestedGender', 'suggestedMaxAge', 'suggestedMinAge'], 'validateJsonSchema'], |
|
| 253 | 253 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 254 | 254 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 255 | 255 | ]); |
@@ -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(); |
@@ -191,14 +191,14 @@ discard block |
||
| 191 | 191 | * @var array |
| 192 | 192 | */ |
| 193 | 193 | static protected $_schemaPropertyExpectedTypes = [ |
| 194 | - 'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'], |
|
| 195 | - 'availableLanguage' => ['Language','Text'], |
|
| 194 | + 'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'], |
|
| 195 | + 'availableLanguage' => ['Language', 'Text'], |
|
| 196 | 196 | 'contactOption' => ['ContactPointOption'], |
| 197 | 197 | 'contactType' => ['Text'], |
| 198 | 198 | 'email' => ['Text'], |
| 199 | 199 | 'faxNumber' => ['Text'], |
| 200 | 200 | 'hoursAvailable' => ['OpeningHoursSpecification'], |
| 201 | - 'productSupported' => ['Product','Text'], |
|
| 201 | + 'productSupported' => ['Product', 'Text'], |
|
| 202 | 202 | 'telephone' => ['Text'] |
| 203 | 203 | ]; |
| 204 | 204 | |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | { |
| 278 | 278 | $rules = parent::rules(); |
| 279 | 279 | $rules = array_merge($rules, [ |
| 280 | - [['areaServed','availableLanguage','contactOption','contactType','email','faxNumber','hoursAvailable','productSupported','telephone'], 'validateJsonSchema'], |
|
| 280 | + [['areaServed', 'availableLanguage', 'contactOption', 'contactType', 'email', 'faxNumber', 'hoursAvailable', 'productSupported', 'telephone'], 'validateJsonSchema'], |
|
| 281 | 281 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 282 | 282 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 283 | 283 | ]); |
@@ -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(); |
@@ -201,7 +201,7 @@ |
||
| 201 | 201 | { |
| 202 | 202 | $rules = parent::rules(); |
| 203 | 203 | $rules = array_merge($rules, [ |
| 204 | - [['cssSelector','xpath'], 'validateJsonSchema'], |
|
| 204 | + [['cssSelector', 'xpath'], 'validateJsonSchema'], |
|
| 205 | 205 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 206 | 206 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 207 | 207 | ]); |
@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -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 | ]); |