@@ -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(); |
@@ -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 | ]); |
@@ -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(); |
@@ -403,24 +403,24 @@ discard block |
||
403 | 403 | 'aggregateRating' => ['AggregateRating'], |
404 | 404 | 'audience' => ['Audience'], |
405 | 405 | 'award' => ['Text'], |
406 | - 'brand' => ['Brand','Organization'], |
|
407 | - 'category' => ['PhysicalActivityCategory','Text','Thing'], |
|
406 | + 'brand' => ['Brand', 'Organization'], |
|
407 | + 'category' => ['PhysicalActivityCategory', 'Text', 'Thing'], |
|
408 | 408 | 'color' => ['Text'], |
409 | - 'depth' => ['Distance','QuantitativeValue'], |
|
409 | + 'depth' => ['Distance', 'QuantitativeValue'], |
|
410 | 410 | 'gtin12' => ['Text'], |
411 | 411 | 'gtin13' => ['Text'], |
412 | 412 | 'gtin14' => ['Text'], |
413 | 413 | 'gtin8' => ['Text'], |
414 | - 'height' => ['Distance','QuantitativeValue'], |
|
414 | + 'height' => ['Distance', 'QuantitativeValue'], |
|
415 | 415 | 'isAccessoryOrSparePartFor' => ['Product'], |
416 | 416 | 'isConsumableFor' => ['Product'], |
417 | - 'isRelatedTo' => ['Product','Service'], |
|
418 | - 'isSimilarTo' => ['Product','Service'], |
|
417 | + 'isRelatedTo' => ['Product', 'Service'], |
|
418 | + 'isSimilarTo' => ['Product', 'Service'], |
|
419 | 419 | 'itemCondition' => ['OfferItemCondition'], |
420 | - 'logo' => ['ImageObject','URL'], |
|
420 | + 'logo' => ['ImageObject', 'URL'], |
|
421 | 421 | 'manufacturer' => ['Organization'], |
422 | - 'material' => ['Product','Text','URL'], |
|
423 | - 'model' => ['ProductModel','Text'], |
|
422 | + 'material' => ['Product', 'Text', 'URL'], |
|
423 | + 'model' => ['ProductModel', 'Text'], |
|
424 | 424 | 'mpn' => ['Text'], |
425 | 425 | 'offers' => ['Offer'], |
426 | 426 | 'productID' => ['Text'], |
@@ -430,7 +430,7 @@ discard block |
||
430 | 430 | 'review' => ['Review'], |
431 | 431 | 'sku' => ['Text'], |
432 | 432 | 'weight' => ['QuantitativeValue'], |
433 | - 'width' => ['Distance','QuantitativeValue'] |
|
433 | + 'width' => ['Distance', 'QuantitativeValue'] |
|
434 | 434 | ]; |
435 | 435 | |
436 | 436 | /** |
@@ -531,7 +531,7 @@ discard block |
||
531 | 531 | { |
532 | 532 | $rules = parent::rules(); |
533 | 533 | $rules = array_merge($rules, [ |
534 | - [['additionalProperty','aggregateRating','audience','award','brand','category','color','depth','gtin12','gtin13','gtin14','gtin8','height','isAccessoryOrSparePartFor','isConsumableFor','isRelatedTo','isSimilarTo','itemCondition','logo','manufacturer','material','model','mpn','offers','productID','productionDate','purchaseDate','releaseDate','review','sku','weight','width'], 'validateJsonSchema'], |
|
534 | + [['additionalProperty', 'aggregateRating', 'audience', 'award', 'brand', 'category', 'color', 'depth', 'gtin12', 'gtin13', 'gtin14', 'gtin8', 'height', 'isAccessoryOrSparePartFor', 'isConsumableFor', 'isRelatedTo', 'isSimilarTo', 'itemCondition', 'logo', 'manufacturer', 'material', 'model', 'mpn', 'offers', 'productID', 'productionDate', 'purchaseDate', 'releaseDate', 'review', 'sku', 'weight', 'width'], 'validateJsonSchema'], |
|
535 | 535 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
536 | 536 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
537 | 537 | ]); |
@@ -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(); |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | * @var array |
136 | 136 | */ |
137 | 137 | static protected $_schemaPropertyExpectedTypes = [ |
138 | - 'subtitleLanguage' => ['Language','Text'], |
|
138 | + 'subtitleLanguage' => ['Language', 'Text'], |
|
139 | 139 | 'videoFormat' => ['Text'], |
140 | 140 | 'workPresented' => ['Movie'] |
141 | 141 | ]; |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | { |
210 | 210 | $rules = parent::rules(); |
211 | 211 | $rules = array_merge($rules, [ |
212 | - [['subtitleLanguage','videoFormat','workPresented'], 'validateJsonSchema'], |
|
212 | + [['subtitleLanguage', 'videoFormat', 'workPresented'], '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 | ]); |
@@ -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(); |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | */ |
137 | 137 | static protected $_schemaPropertyExpectedTypes = [ |
138 | 138 | 'isAccessibleForFree' => ['Boolean'], |
139 | - 'publishedBy' => ['Organization','Person'], |
|
139 | + 'publishedBy' => ['Organization', 'Person'], |
|
140 | 140 | 'publishedOn' => ['BroadcastService'] |
141 | 141 | ]; |
142 | 142 | |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | { |
210 | 210 | $rules = parent::rules(); |
211 | 211 | $rules = array_merge($rules, [ |
212 | - [['isAccessibleForFree','publishedBy','publishedOn'], 'validateJsonSchema'], |
|
212 | + [['isAccessibleForFree', 'publishedBy', 'publishedOn'], '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 | ]); |
@@ -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(); |
@@ -144,9 +144,9 @@ discard block |
||
144 | 144 | * @var array |
145 | 145 | */ |
146 | 146 | static protected $_schemaPropertyExpectedTypes = [ |
147 | - 'dateCreated' => ['Date','DateTime'], |
|
147 | + 'dateCreated' => ['Date', 'DateTime'], |
|
148 | 148 | 'dateDeleted' => ['DateTime'], |
149 | - 'dateModified' => ['Date','DateTime'], |
|
149 | + 'dateModified' => ['Date', 'DateTime'], |
|
150 | 150 | 'item' => ['Thing'] |
151 | 151 | ]; |
152 | 152 | |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | { |
221 | 221 | $rules = parent::rules(); |
222 | 222 | $rules = array_merge($rules, [ |
223 | - [['dateCreated','dateDeleted','dateModified','item'], 'validateJsonSchema'], |
|
223 | + [['dateCreated', 'dateDeleted', 'dateModified', 'item'], 'validateJsonSchema'], |
|
224 | 224 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
225 | 225 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
226 | 226 | ]); |
@@ -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,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 | ]); |
@@ -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(); |
@@ -205,7 +205,7 @@ |
||
205 | 205 | { |
206 | 206 | $rules = parent::rules(); |
207 | 207 | $rules = array_merge($rules, [ |
208 | - [['audience','event'], 'validateJsonSchema'], |
|
208 | + [['audience', 'event'], 'validateJsonSchema'], |
|
209 | 209 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
210 | 210 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
211 | 211 | ]); |
@@ -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(); |
@@ -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 | ]); |