@@ -144,9 +144,9 @@ discard block |
||
| 144 | 144 | * @var array |
| 145 | 145 | */ |
| 146 | 146 | static protected $_schemaPropertyExpectedTypes = [ |
| 147 | - 'issueNumber' => ['Integer','Text'], |
|
| 148 | - 'pageEnd' => ['Integer','Text'], |
|
| 149 | - 'pageStart' => ['Integer','Text'], |
|
| 147 | + 'issueNumber' => ['Integer', 'Text'], |
|
| 148 | + 'pageEnd' => ['Integer', 'Text'], |
|
| 149 | + 'pageStart' => ['Integer', 'Text'], |
|
| 150 | 150 | 'pagination' => ['Text'] |
| 151 | 151 | ]; |
| 152 | 152 | |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | { |
| 221 | 221 | $rules = parent::rules(); |
| 222 | 222 | $rules = array_merge($rules, [ |
| 223 | - [['issueNumber','pageEnd','pageStart','pagination'], 'validateJsonSchema'], |
|
| 223 | + [['issueNumber', 'pageEnd', 'pageStart', 'pagination'], '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 | ]); |
@@ -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 | ]); |
@@ -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 | ]); |
@@ -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 | ]); |