@@ -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 | ]); |
@@ -136,8 +136,8 @@ discard block |
||
136 | 136 | */ |
137 | 137 | static protected $_schemaPropertyExpectedTypes = [ |
138 | 138 | 'album' => ['MusicAlbum'], |
139 | - 'genre' => ['Text','URL'], |
|
140 | - 'track' => ['ItemList','MusicRecording'] |
|
139 | + 'genre' => ['Text', 'URL'], |
|
140 | + 'track' => ['ItemList', 'MusicRecording'] |
|
141 | 141 | ]; |
142 | 142 | |
143 | 143 | /** |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | { |
210 | 210 | $rules = parent::rules(); |
211 | 211 | $rules = array_merge($rules, [ |
212 | - [['album','genre','track'], 'validateJsonSchema'], |
|
212 | + [['album', 'genre', 'track'], 'validateJsonSchema'], |
|
213 | 213 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
214 | 214 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
215 | 215 | ]); |
@@ -218,7 +218,7 @@ |
||
218 | 218 | { |
219 | 219 | $rules = parent::rules(); |
220 | 220 | $rules = array_merge($rules, [ |
221 | - [['assemblyVersion','executableLibraryName','programmingModel','targetPlatform'], 'validateJsonSchema'], |
|
221 | + [['assemblyVersion', 'executableLibraryName', 'programmingModel', 'targetPlatform'], 'validateJsonSchema'], |
|
222 | 222 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
223 | 223 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
224 | 224 | ]); |
@@ -199,7 +199,7 @@ |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['audienceType','geographicArea'], 'validateJsonSchema'], |
|
202 | + [['audienceType', 'geographicArea'], '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 | - 'price' => ['Number','Text'], |
|
140 | + 'price' => ['Number', 'Text'], |
|
141 | 141 | 'priceSpecification' => ['PriceSpecification'] |
142 | 142 | ]; |
143 | 143 | |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | { |
210 | 210 | $rules = parent::rules(); |
211 | 211 | $rules = array_merge($rules, [ |
212 | - [['price','priceSpecification'], 'validateJsonSchema'], |
|
212 | + [['price', 'priceSpecification'], 'validateJsonSchema'], |
|
213 | 213 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
214 | 214 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
215 | 215 | ]); |
@@ -211,7 +211,7 @@ |
||
211 | 211 | { |
212 | 212 | $rules = parent::rules(); |
213 | 213 | $rules = array_merge($rules, [ |
214 | - [['downvoteCount','parentItem','upvoteCount'], 'validateJsonSchema'], |
|
214 | + [['downvoteCount', 'parentItem', 'upvoteCount'], '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 | ]); |
@@ -280,10 +280,10 @@ discard block |
||
280 | 280 | static protected $_schemaPropertyExpectedTypes = [ |
281 | 281 | 'acceptedOffer' => ['Offer'], |
282 | 282 | 'billingAddress' => ['PostalAddress'], |
283 | - 'broker' => ['Organization','Person'], |
|
283 | + 'broker' => ['Organization', 'Person'], |
|
284 | 284 | 'confirmationNumber' => ['Text'], |
285 | - 'customer' => ['Organization','Person'], |
|
286 | - 'discount' => ['Number','Text'], |
|
285 | + 'customer' => ['Organization', 'Person'], |
|
286 | + 'discount' => ['Number', 'Text'], |
|
287 | 287 | 'discountCode' => ['Text'], |
288 | 288 | 'discountCurrency' => ['Text'], |
289 | 289 | 'isGift' => ['Boolean'], |
@@ -291,13 +291,13 @@ discard block |
||
291 | 291 | 'orderDelivery' => ['ParcelDelivery'], |
292 | 292 | 'orderNumber' => ['Text'], |
293 | 293 | 'orderStatus' => ['OrderStatus'], |
294 | - 'orderedItem' => ['OrderItem','Product'], |
|
294 | + 'orderedItem' => ['OrderItem', 'Product'], |
|
295 | 295 | 'partOfInvoice' => ['Invoice'], |
296 | 296 | 'paymentDueDate' => ['DateTime'], |
297 | 297 | 'paymentMethod' => ['PaymentMethod'], |
298 | 298 | 'paymentMethodId' => ['Text'], |
299 | 299 | 'paymentUrl' => ['URL'], |
300 | - 'seller' => ['Organization','Person'] |
|
300 | + 'seller' => ['Organization', 'Person'] |
|
301 | 301 | ]; |
302 | 302 | |
303 | 303 | /** |
@@ -386,7 +386,7 @@ discard block |
||
386 | 386 | { |
387 | 387 | $rules = parent::rules(); |
388 | 388 | $rules = array_merge($rules, [ |
389 | - [['acceptedOffer','billingAddress','broker','confirmationNumber','customer','discount','discountCode','discountCurrency','isGift','orderDate','orderDelivery','orderNumber','orderStatus','orderedItem','partOfInvoice','paymentDueDate','paymentMethod','paymentMethodId','paymentUrl','seller'], 'validateJsonSchema'], |
|
389 | + [['acceptedOffer', 'billingAddress', 'broker', 'confirmationNumber', 'customer', 'discount', 'discountCode', 'discountCurrency', 'isGift', 'orderDate', 'orderDelivery', 'orderNumber', 'orderStatus', 'orderedItem', 'partOfInvoice', 'paymentDueDate', 'paymentMethod', 'paymentMethodId', 'paymentUrl', 'seller'], 'validateJsonSchema'], |
|
390 | 390 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
391 | 391 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
392 | 392 | ]); |
@@ -218,7 +218,7 @@ |
||
218 | 218 | { |
219 | 219 | $rules = parent::rules(); |
220 | 220 | $rules = array_merge($rules, [ |
221 | - [['albumProductionType','albumRelease','albumReleaseType','byArtist'], 'validateJsonSchema'], |
|
221 | + [['albumProductionType', 'albumRelease', 'albumReleaseType', 'byArtist'], 'validateJsonSchema'], |
|
222 | 222 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
223 | 223 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
224 | 224 | ]); |
@@ -180,10 +180,10 @@ discard block |
||
180 | 180 | 'issuedBy' => ['Organization'], |
181 | 181 | 'priceCurrency' => ['Text'], |
182 | 182 | 'ticketNumber' => ['Text'], |
183 | - 'ticketToken' => ['Text','URL'], |
|
183 | + 'ticketToken' => ['Text', 'URL'], |
|
184 | 184 | 'ticketedSeat' => ['Seat'], |
185 | - 'totalPrice' => ['Number','PriceSpecification','Text'], |
|
186 | - 'underName' => ['Organization','Person'] |
|
185 | + 'totalPrice' => ['Number', 'PriceSpecification', 'Text'], |
|
186 | + 'underName' => ['Organization', 'Person'] |
|
187 | 187 | ]; |
188 | 188 | |
189 | 189 | /** |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | { |
261 | 261 | $rules = parent::rules(); |
262 | 262 | $rules = array_merge($rules, [ |
263 | - [['dateIssued','issuedBy','priceCurrency','ticketNumber','ticketToken','ticketedSeat','totalPrice','underName'], 'validateJsonSchema'], |
|
263 | + [['dateIssued', 'issuedBy', 'priceCurrency', 'ticketNumber', 'ticketToken', 'ticketedSeat', 'totalPrice', 'underName'], 'validateJsonSchema'], |
|
264 | 264 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
265 | 265 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
266 | 266 | ]); |