@@ -118,7 +118,7 @@ |
||
118 | 118 | * @var array |
119 | 119 | */ |
120 | 120 | static protected $_schemaPropertyExpectedTypes = [ |
121 | - 'endorsee' => ['Organization','Person'] |
|
121 | + 'endorsee' => ['Organization', 'Person'] |
|
122 | 122 | ]; |
123 | 123 | |
124 | 124 | /** |
@@ -199,7 +199,7 @@ |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['blogPost','issn'], 'validateJsonSchema'], |
|
202 | + [['blogPost', 'issn'], 'validateJsonSchema'], |
|
203 | 203 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
204 | 204 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
205 | 205 | ]); |
@@ -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 | ]); |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | */ |
143 | 143 | static protected $_schemaPropertyExpectedTypes = [ |
144 | 144 | 'caption' => ['Text'], |
145 | - 'exifData' => ['PropertyValue','Text'], |
|
145 | + 'exifData' => ['PropertyValue', 'Text'], |
|
146 | 146 | 'representativeOfPage' => ['Boolean'], |
147 | 147 | 'thumbnail' => ['ImageObject'] |
148 | 148 | ]; |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | { |
218 | 218 | $rules = parent::rules(); |
219 | 219 | $rules = array_merge($rules, [ |
220 | - [['caption','exifData','representativeOfPage','thumbnail'], 'validateJsonSchema'], |
|
220 | + [['caption', 'exifData', 'representativeOfPage', 'thumbnail'], 'validateJsonSchema'], |
|
221 | 221 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
222 | 222 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
223 | 223 | ]); |
@@ -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 | ]); |
@@ -239,7 +239,7 @@ |
||
239 | 239 | { |
240 | 240 | $rules = parent::rules(); |
241 | 241 | $rules = array_merge($rules, [ |
242 | - [['currenciesAccepted','openingHours','openingHoursSpecification', 'paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
242 | + [['currenciesAccepted', 'openingHours', 'openingHoursSpecification', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'], |
|
243 | 243 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
244 | 244 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
245 | 245 | ]); |