@@ -121,7 +121,7 @@ |
||
121 | 121 | * @var array |
122 | 122 | */ |
123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
125 | 125 | ]; |
126 | 126 | |
127 | 127 | /** |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * @var array |
122 | 122 | */ |
123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
125 | 125 | ]; |
126 | 126 | |
127 | 127 | /** |
@@ -147,8 +147,8 @@ discard block |
||
147 | 147 | * @var array |
148 | 148 | */ |
149 | 149 | static protected $_schemaPropertyExpectedTypes = [ |
150 | - 'associatedAnatomy' => ['AnatomicalStructure','AnatomicalSystem','SuperficialAnatomy'], |
|
151 | - 'category' => ['PhysicalActivityCategory','Text','Thing'], |
|
150 | + 'associatedAnatomy' => ['AnatomicalStructure', 'AnatomicalSystem', 'SuperficialAnatomy'], |
|
151 | + 'category' => ['PhysicalActivityCategory', 'Text', 'Thing'], |
|
152 | 152 | 'epidemiology' => ['Text'], |
153 | 153 | 'pathophysiology' => ['Text'] |
154 | 154 | ]; |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | { |
224 | 224 | $rules = parent::rules(); |
225 | 225 | $rules = array_merge($rules, [ |
226 | - [['associatedAnatomy','category','epidemiology','pathophysiology'], 'validateJsonSchema'], |
|
226 | + [['associatedAnatomy', 'category', 'epidemiology', 'pathophysiology'], '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 | ]); |
@@ -226,7 +226,7 @@ |
||
226 | 226 | { |
227 | 227 | $rules = parent::rules(); |
228 | 228 | $rules = array_merge($rules, [ |
229 | - [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
229 | + [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'], |
|
230 | 230 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
231 | 231 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
232 | 232 | ]); |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * @var array |
122 | 122 | */ |
123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
125 | 125 | ]; |
126 | 126 | |
127 | 127 | /** |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | * @var array |
151 | 151 | */ |
152 | 152 | static protected $_schemaPropertyExpectedTypes = [ |
153 | - 'price' => ['Number','Text'], |
|
153 | + 'price' => ['Number', 'Text'], |
|
154 | 154 | 'priceCurrency' => ['Text'], |
155 | 155 | 'priceSpecification' => ['PriceSpecification'] |
156 | 156 | ]; |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | { |
225 | 225 | $rules = parent::rules(); |
226 | 226 | $rules = array_merge($rules, [ |
227 | - [['price','priceCurrency','priceSpecification'], 'validateJsonSchema'], |
|
227 | + [['price', 'priceCurrency', 'priceSpecification'], 'validateJsonSchema'], |
|
228 | 228 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
229 | 229 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
230 | 230 | ]); |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * @var array |
122 | 122 | */ |
123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
125 | 125 | ]; |
126 | 126 | |
127 | 127 | /** |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * @var array |
122 | 122 | */ |
123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
125 | 125 | ]; |
126 | 126 | |
127 | 127 | /** |
@@ -207,7 +207,7 @@ |
||
207 | 207 | { |
208 | 208 | $rules = parent::rules(); |
209 | 209 | $rules = array_merge($rules, [ |
210 | - [['itemReviewed','ratingCount','reviewCount'], 'validateJsonSchema'], |
|
210 | + [['itemReviewed', 'ratingCount', 'reviewCount'], 'validateJsonSchema'], |
|
211 | 211 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
212 | 212 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
213 | 213 | ]); |