@@ -120,7 +120,7 @@ |
||
| 120 | 120 | * @var array |
| 121 | 121 | */ |
| 122 | 122 | static protected $_schemaPropertyExpectedTypes = [ |
| 123 | - 'lender' => ['Organization','Person'] |
|
| 123 | + 'lender' => ['Organization', 'Person'] |
|
| 124 | 124 | ]; |
| 125 | 125 | |
| 126 | 126 | /** |
@@ -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 | ]); |
@@ -231,7 +231,7 @@ |
||
| 231 | 231 | { |
| 232 | 232 | $rules = parent::rules(); |
| 233 | 233 | $rules = array_merge($rules, [ |
| 234 | - [['alignmentType','educationalFramework','targetDescription','targetName','targetUrl'], 'validateJsonSchema'], |
|
| 234 | + [['alignmentType', 'educationalFramework', 'targetDescription', 'targetName', 'targetUrl'], 'validateJsonSchema'], |
|
| 235 | 235 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 236 | 236 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 237 | 237 | ]); |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * @var array |
| 135 | 135 | */ |
| 136 | 136 | static protected $_schemaPropertyExpectedTypes = [ |
| 137 | - 'bed' => ['BedDetails','BedType','Text'], |
|
| 137 | + 'bed' => ['BedDetails', 'BedType', 'Text'], |
|
| 138 | 138 | 'occupancy' => ['QuantitativeValue'] |
| 139 | 139 | ]; |
| 140 | 140 | |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | { |
| 207 | 207 | $rules = parent::rules(); |
| 208 | 208 | $rules = array_merge($rules, [ |
| 209 | - [['bed','occupancy'], 'validateJsonSchema'], |
|
| 209 | + [['bed', 'occupancy'], 'validateJsonSchema'], |
|
| 210 | 210 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 211 | 211 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 212 | 212 | ]); |
@@ -152,8 +152,8 @@ discard block |
||
| 152 | 152 | * @var array |
| 153 | 153 | */ |
| 154 | 154 | static protected $_schemaPropertyExpectedTypes = [ |
| 155 | - 'itemListElement' => ['ListItem','Text','Thing'], |
|
| 156 | - 'itemListOrder' => ['ItemListOrderType','Text'], |
|
| 155 | + 'itemListElement' => ['ListItem', 'Text', 'Thing'], |
|
| 156 | + 'itemListOrder' => ['ItemListOrderType', 'Text'], |
|
| 157 | 157 | 'numberOfItems' => ['Integer'] |
| 158 | 158 | ]; |
| 159 | 159 | |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | { |
| 227 | 227 | $rules = parent::rules(); |
| 228 | 228 | $rules = array_merge($rules, [ |
| 229 | - [['itemListElement','itemListOrder','numberOfItems'], 'validateJsonSchema'], |
|
| 229 | + [['itemListElement', 'itemListOrder', 'numberOfItems'], '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 | ]); |
@@ -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 | ]); |
@@ -172,8 +172,8 @@ discard block |
||
| 172 | 172 | static protected $_schemaPropertyExpectedTypes = [ |
| 173 | 173 | 'engineDisplacement' => ['QuantitativeValue'], |
| 174 | 174 | 'enginePower' => ['QuantitativeValue'], |
| 175 | - 'engineType' => ['QualitativeValue','Text','URL'], |
|
| 176 | - 'fuelType' => ['QualitativeValue','Text','URL'], |
|
| 175 | + 'engineType' => ['QualitativeValue', 'Text', 'URL'], |
|
| 176 | + 'fuelType' => ['QualitativeValue', 'Text', 'URL'], |
|
| 177 | 177 | 'torque' => ['QuantitativeValue'] |
| 178 | 178 | ]; |
| 179 | 179 | |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | { |
| 249 | 249 | $rules = parent::rules(); |
| 250 | 250 | $rules = array_merge($rules, [ |
| 251 | - [['engineDisplacement','enginePower','engineType','fuelType','torque'], 'validateJsonSchema'], |
|
| 251 | + [['engineDisplacement', 'enginePower', 'engineType', 'fuelType', 'torque'], 'validateJsonSchema'], |
|
| 252 | 252 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 253 | 253 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 254 | 254 | ]); |
@@ -219,7 +219,7 @@ |
||
| 219 | 219 | { |
| 220 | 220 | $rules = parent::rules(); |
| 221 | 221 | $rules = array_merge($rules, [ |
| 222 | - [['dropoffLocation','dropoffTime','pickupLocation','pickupTime'], 'validateJsonSchema'], |
|
| 222 | + [['dropoffLocation', 'dropoffTime', 'pickupLocation', 'pickupTime'], 'validateJsonSchema'], |
|
| 223 | 223 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 224 | 224 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 225 | 225 | ]); |
@@ -147,10 +147,10 @@ discard block |
||
| 147 | 147 | * @var array |
| 148 | 148 | */ |
| 149 | 149 | static protected $_schemaPropertyExpectedTypes = [ |
| 150 | - 'pageEnd' => ['Integer','Text'], |
|
| 151 | - 'pageStart' => ['Integer','Text'], |
|
| 150 | + 'pageEnd' => ['Integer', 'Text'], |
|
| 151 | + 'pageStart' => ['Integer', 'Text'], |
|
| 152 | 152 | 'pagination' => ['Text'], |
| 153 | - 'volumeNumber' => ['Integer','Text'] |
|
| 153 | + 'volumeNumber' => ['Integer', 'Text'] |
|
| 154 | 154 | ]; |
| 155 | 155 | |
| 156 | 156 | /** |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | { |
| 224 | 224 | $rules = parent::rules(); |
| 225 | 225 | $rules = array_merge($rules, [ |
| 226 | - [['pageEnd','pageStart','pagination','volumeNumber'], 'validateJsonSchema'], |
|
| 226 | + [['pageEnd', 'pageStart', 'pagination', 'volumeNumber'], 'validateJsonSchema'], |
|
| 227 | 227 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 228 | 228 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 229 | 229 | ]); |