@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | * @var array |
138 | 138 | */ |
139 | 139 | static protected $_schemaPropertyExpectedTypes = [ |
140 | - 'cashBack' => ['Boolean','Number'], |
|
140 | + 'cashBack' => ['Boolean', 'Number'], |
|
141 | 141 | 'contactlessPayment' => ['Boolean'], |
142 | 142 | 'floorLimit' => ['MonetaryAmount'] |
143 | 143 | ]; |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | { |
212 | 212 | $rules = parent::rules(); |
213 | 213 | $rules = array_merge($rules, [ |
214 | - [['cashBack','contactlessPayment','floorLimit'], 'validateJsonSchema'], |
|
214 | + [['cashBack', 'contactlessPayment', 'floorLimit'], 'validateJsonSchema'], |
|
215 | 215 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
216 | 216 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
217 | 217 | ]); |
@@ -198,7 +198,7 @@ |
||
198 | 198 | { |
199 | 199 | $rules = parent::rules(); |
200 | 200 | $rules = array_merge($rules, [ |
201 | - [['replacee','replacer'], 'validateJsonSchema'], |
|
201 | + [['replacee', 'replacer'], 'validateJsonSchema'], |
|
202 | 202 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
203 | 203 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
204 | 204 | ]); |
@@ -164,9 +164,9 @@ discard block |
||
164 | 164 | 'checkinTime' => ['DateTime'], |
165 | 165 | 'checkoutTime' => ['DateTime'], |
166 | 166 | 'lodgingUnitDescription' => ['Text'], |
167 | - 'lodgingUnitType' => ['QualitativeValue','Text'], |
|
168 | - 'numAdults' => ['Integer','QuantitativeValue'], |
|
169 | - 'numChildren' => ['Integer','QuantitativeValue'] |
|
167 | + 'lodgingUnitType' => ['QualitativeValue', 'Text'], |
|
168 | + 'numAdults' => ['Integer', 'QuantitativeValue'], |
|
169 | + 'numChildren' => ['Integer', 'QuantitativeValue'] |
|
170 | 170 | ]; |
171 | 171 | |
172 | 172 | /** |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | { |
242 | 242 | $rules = parent::rules(); |
243 | 243 | $rules = array_merge($rules, [ |
244 | - [['checkinTime','checkoutTime','lodgingUnitDescription','lodgingUnitType','numAdults','numChildren'], 'validateJsonSchema'], |
|
244 | + [['checkinTime', 'checkoutTime', 'lodgingUnitDescription', 'lodgingUnitType', 'numAdults', 'numChildren'], 'validateJsonSchema'], |
|
245 | 245 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
246 | 246 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
247 | 247 | ]); |
@@ -118,7 +118,7 @@ |
||
118 | 118 | * @var array |
119 | 119 | */ |
120 | 120 | static protected $_schemaPropertyExpectedTypes = [ |
121 | - 'sport' => ['Text','URL'] |
|
121 | + 'sport' => ['Text', 'URL'] |
|
122 | 122 | ]; |
123 | 123 | |
124 | 124 | /** |
@@ -150,9 +150,9 @@ discard block |
||
150 | 150 | */ |
151 | 151 | static protected $_schemaPropertyExpectedTypes = [ |
152 | 152 | 'appliesToDeliveryMethod' => ['DeliveryMethod'], |
153 | - 'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'], |
|
154 | - 'eligibleRegion' => ['GeoShape','Place','Text'], |
|
155 | - 'ineligibleRegion' => ['GeoShape','Place','Text'] |
|
153 | + 'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'], |
|
154 | + 'eligibleRegion' => ['GeoShape', 'Place', 'Text'], |
|
155 | + 'ineligibleRegion' => ['GeoShape', 'Place', 'Text'] |
|
156 | 156 | ]; |
157 | 157 | |
158 | 158 | /** |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | { |
226 | 226 | $rules = parent::rules(); |
227 | 227 | $rules = array_merge($rules, [ |
228 | - [['appliesToDeliveryMethod','areaServed','eligibleRegion','ineligibleRegion'], 'validateJsonSchema'], |
|
228 | + [['appliesToDeliveryMethod', 'areaServed', 'eligibleRegion', 'ineligibleRegion'], 'validateJsonSchema'], |
|
229 | 229 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
230 | 230 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
231 | 231 | ]); |
@@ -138,9 +138,9 @@ discard block |
||
138 | 138 | * @var array |
139 | 139 | */ |
140 | 140 | static protected $_schemaPropertyExpectedTypes = [ |
141 | - 'endDate' => ['Date','DateTime'], |
|
141 | + 'endDate' => ['Date', 'DateTime'], |
|
142 | 142 | 'issn' => ['Text'], |
143 | - 'startDate' => ['Date','DateTime'] |
|
143 | + 'startDate' => ['Date', 'DateTime'] |
|
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 | - [['endDate','issn','startDate'], 'validateJsonSchema'], |
|
215 | + [['endDate', 'issn', 'startDate'], '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 | ]); |
@@ -200,7 +200,7 @@ |
||
200 | 200 | { |
201 | 201 | $rules = parent::rules(); |
202 | 202 | $rules = array_merge($rules, [ |
203 | - [['durationOfWarranty','warrantyScope'], 'validateJsonSchema'], |
|
203 | + [['durationOfWarranty', 'warrantyScope'], 'validateJsonSchema'], |
|
204 | 204 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
205 | 205 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
206 | 206 | ]); |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | * @var array |
126 | 126 | */ |
127 | 127 | static protected $_schemaPropertyExpectedTypes = [ |
128 | - 'availableService' => ['MedicalProcedure','MedicalTest','MedicalTherapy'], |
|
128 | + 'availableService' => ['MedicalProcedure', 'MedicalTest', 'MedicalTherapy'], |
|
129 | 129 | 'medicalSpecialty' => ['MedicalSpecialty'] |
130 | 130 | ]; |
131 | 131 | |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | { |
198 | 198 | $rules = parent::rules(); |
199 | 199 | $rules = array_merge($rules, [ |
200 | - [['availableService','medicalSpecialty'], 'validateJsonSchema'], |
|
200 | + [['availableService', 'medicalSpecialty'], 'validateJsonSchema'], |
|
201 | 201 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
202 | 202 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
203 | 203 | ]); |
@@ -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 | ]); |