@@ -199,7 +199,7 @@ |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['appliesToDeliveryMethod','appliesToPaymentMethod'], 'validateJsonSchema'], |
|
202 | + [['appliesToDeliveryMethod', 'appliesToPaymentMethod'], '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 | ]); |
@@ -203,14 +203,14 @@ discard block |
||
203 | 203 | * @var array |
204 | 204 | */ |
205 | 205 | static protected $_schemaPropertyExpectedTypes = [ |
206 | - 'breadcrumb' => ['BreadcrumbList','Text'], |
|
206 | + 'breadcrumb' => ['BreadcrumbList', 'Text'], |
|
207 | 207 | 'lastReviewed' => ['Date'], |
208 | 208 | 'mainContentOfPage' => ['WebPageElement'], |
209 | 209 | 'primaryImageOfPage' => ['ImageObject'], |
210 | 210 | 'relatedLink' => ['URL'], |
211 | - 'reviewedBy' => ['Organization','Person'], |
|
211 | + 'reviewedBy' => ['Organization', 'Person'], |
|
212 | 212 | 'significantLink' => ['URL'], |
213 | - 'speakable' => ['SpeakableSpecification','URL'], |
|
213 | + 'speakable' => ['SpeakableSpecification', 'URL'], |
|
214 | 214 | 'specialty' => ['Specialty'] |
215 | 215 | ]; |
216 | 216 | |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | { |
290 | 290 | $rules = parent::rules(); |
291 | 291 | $rules = array_merge($rules, [ |
292 | - [['breadcrumb','lastReviewed','mainContentOfPage','primaryImageOfPage','relatedLink','reviewedBy','significantLink','speakable','specialty'], 'validateJsonSchema'], |
|
292 | + [['breadcrumb', 'lastReviewed', 'mainContentOfPage', 'primaryImageOfPage', 'relatedLink', 'reviewedBy', 'significantLink', 'speakable', 'specialty'], 'validateJsonSchema'], |
|
293 | 293 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
294 | 294 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
295 | 295 | ]); |
@@ -119,7 +119,7 @@ |
||
119 | 119 | * @var array |
120 | 120 | */ |
121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
122 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'] |
|
122 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
123 | 123 | ]; |
124 | 124 | |
125 | 125 | /** |
@@ -198,7 +198,7 @@ |
||
198 | 198 | { |
199 | 199 | $rules = parent::rules(); |
200 | 200 | $rules = array_merge($rules, [ |
201 | - [['childMaxAge','childMinAge'], 'validateJsonSchema'], |
|
201 | + [['childMaxAge', 'childMinAge'], '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 | ]); |
@@ -139,8 +139,8 @@ discard block |
||
139 | 139 | */ |
140 | 140 | static protected $_schemaPropertyExpectedTypes = [ |
141 | 141 | 'about' => ['Thing'], |
142 | - 'inLanguage' => ['Language','Text'], |
|
143 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'] |
|
142 | + 'inLanguage' => ['Language', 'Text'], |
|
143 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
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 | - [['about','inLanguage','recipient'], 'validateJsonSchema'], |
|
215 | + [['about', 'inLanguage', 'recipient'], '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 | ]); |
@@ -122,7 +122,7 @@ |
||
122 | 122 | * @var array |
123 | 123 | */ |
124 | 124 | static protected $_schemaPropertyExpectedTypes = [ |
125 | - 'numberOfRooms' => ['Number','QuantitativeValue'] |
|
125 | + 'numberOfRooms' => ['Number', 'QuantitativeValue'] |
|
126 | 126 | ]; |
127 | 127 | |
128 | 128 | /** |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | * @var array |
137 | 137 | */ |
138 | 138 | static protected $_schemaPropertyExpectedTypes = [ |
139 | - 'foodEstablishment' => ['FoodEstablishment','Place'], |
|
139 | + 'foodEstablishment' => ['FoodEstablishment', 'Place'], |
|
140 | 140 | 'foodEvent' => ['FoodEvent'], |
141 | 141 | 'recipe' => ['Recipe'] |
142 | 142 | ]; |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | { |
211 | 211 | $rules = parent::rules(); |
212 | 212 | $rules = array_merge($rules, [ |
213 | - [['foodEstablishment','foodEvent','recipe'], 'validateJsonSchema'], |
|
213 | + [['foodEstablishment', 'foodEvent', 'recipe'], 'validateJsonSchema'], |
|
214 | 214 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
215 | 215 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
216 | 216 | ]); |
@@ -207,7 +207,7 @@ |
||
207 | 207 | { |
208 | 208 | $rules = parent::rules(); |
209 | 209 | $rules = array_merge($rules, [ |
210 | - [['game','playersOnline','serverStatus'], 'validateJsonSchema'], |
|
210 | + [['game', 'playersOnline', 'serverStatus'], '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 | ]); |
@@ -119,7 +119,7 @@ |
||
119 | 119 | * @var array |
120 | 120 | */ |
121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
122 | - 'actionOption' => ['Text','Thing'] |
|
122 | + 'actionOption' => ['Text', 'Thing'] |
|
123 | 123 | ]; |
124 | 124 | |
125 | 125 | /** |