@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | * @var array |
128 | 128 | */ |
129 | 129 | static protected $_schemaPropertyExpectedTypes = [ |
130 | - 'baseSalary' => ['MonetaryAmount','Number','PriceSpecification'], |
|
130 | + 'baseSalary' => ['MonetaryAmount', 'Number', 'PriceSpecification'], |
|
131 | 131 | 'salaryCurrency' => ['Text'] |
132 | 132 | ]; |
133 | 133 | |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['baseSalary','salaryCurrency'], 'validateJsonSchema'], |
|
202 | + [['baseSalary', 'salaryCurrency'], '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 | ]); |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | */ |
132 | 132 | static protected $_schemaPropertyExpectedTypes = [ |
133 | 133 | 'geoMidpoint' => ['GeoCoordinates'], |
134 | - 'geoRadius' => ['Distance','Number','Text'] |
|
134 | + 'geoRadius' => ['Distance', 'Number', 'Text'] |
|
135 | 135 | ]; |
136 | 136 | |
137 | 137 | /** |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
204 | 204 | $rules = array_merge($rules, [ |
205 | - [['geoMidpoint','geoRadius'], 'validateJsonSchema'], |
|
205 | + [['geoMidpoint', 'geoRadius'], 'validateJsonSchema'], |
|
206 | 206 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
207 | 207 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
208 | 208 | ]); |
@@ -197,7 +197,7 @@ |
||
197 | 197 | { |
198 | 198 | $rules = parent::rules(); |
199 | 199 | $rules = array_merge($rules, [ |
200 | - [['iataCode','icaoCode'], 'validateJsonSchema'], |
|
200 | + [['iataCode', 'icaoCode'], 'validateJsonSchema'], |
|
201 | 201 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
202 | 202 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
203 | 203 | ]); |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | * @var array |
137 | 137 | */ |
138 | 138 | static protected $_schemaPropertyExpectedTypes = [ |
139 | - 'partySize' => ['Integer','QuantitativeValue'], |
|
139 | + 'partySize' => ['Integer', 'QuantitativeValue'], |
|
140 | 140 | 'pickupLocation' => ['Place'], |
141 | 141 | 'pickupTime' => ['DateTime'] |
142 | 142 | ]; |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | { |
211 | 211 | $rules = parent::rules(); |
212 | 212 | $rules = array_merge($rules, [ |
213 | - [['partySize','pickupLocation','pickupTime'], 'validateJsonSchema'], |
|
213 | + [['partySize', 'pickupLocation', 'pickupTime'], '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 | ]); |
@@ -193,10 +193,10 @@ discard block |
||
193 | 193 | 'actor' => ['Person'], |
194 | 194 | 'cheatCode' => ['CreativeWork'], |
195 | 195 | 'director' => ['Person'], |
196 | - 'gamePlatform' => ['Text','Thing','URL'], |
|
196 | + 'gamePlatform' => ['Text', 'Thing', 'URL'], |
|
197 | 197 | 'gameServer' => ['GameServer'], |
198 | 198 | 'gameTip' => ['CreativeWork'], |
199 | - 'musicBy' => ['MusicGroup','Person'], |
|
199 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
200 | 200 | 'playMode' => ['GamePlayMode'], |
201 | 201 | 'trailer' => ['VideoObject'] |
202 | 202 | ]; |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | { |
277 | 277 | $rules = parent::rules(); |
278 | 278 | $rules = array_merge($rules, [ |
279 | - [['actor','cheatCode','director','gamePlatform','gameServer','gameTip','musicBy','playMode','trailer'], 'validateJsonSchema'], |
|
279 | + [['actor', 'cheatCode', 'director', 'gamePlatform', 'gameServer', 'gameTip', 'musicBy', 'playMode', 'trailer'], 'validateJsonSchema'], |
|
280 | 280 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
281 | 281 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
282 | 282 | ]); |
@@ -118,7 +118,7 @@ |
||
118 | 118 | * @var array |
119 | 119 | */ |
120 | 120 | static protected $_schemaPropertyExpectedTypes = [ |
121 | - 'dataFeedElement' => ['DataFeedItem','Text','Thing'] |
|
121 | + 'dataFeedElement' => ['DataFeedItem', 'Text', 'Thing'] |
|
122 | 122 | ]; |
123 | 123 | |
124 | 124 | /** |
@@ -185,9 +185,9 @@ discard block |
||
185 | 185 | 'countryOfOrigin' => ['Country'], |
186 | 186 | 'director' => ['Person'], |
187 | 187 | 'duration' => ['Duration'], |
188 | - 'musicBy' => ['MusicGroup','Person'], |
|
188 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
189 | 189 | 'productionCompany' => ['Organization'], |
190 | - 'subtitleLanguage' => ['Language','Text'], |
|
190 | + 'subtitleLanguage' => ['Language', 'Text'], |
|
191 | 191 | 'trailer' => ['VideoObject'] |
192 | 192 | ]; |
193 | 193 | |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | { |
266 | 266 | $rules = parent::rules(); |
267 | 267 | $rules = array_merge($rules, [ |
268 | - [['actor','countryOfOrigin','director','duration','musicBy','productionCompany','subtitleLanguage','trailer'], 'validateJsonSchema'], |
|
268 | + [['actor', 'countryOfOrigin', 'director', 'duration', 'musicBy', 'productionCompany', 'subtitleLanguage', 'trailer'], 'validateJsonSchema'], |
|
269 | 269 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
270 | 270 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
271 | 271 | ]); |
@@ -119,7 +119,7 @@ |
||
119 | 119 | * @var array |
120 | 120 | */ |
121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
122 | - 'inLanguage' => ['Language','Text'] |
|
122 | + 'inLanguage' => ['Language', 'Text'] |
|
123 | 123 | ]; |
124 | 124 | |
125 | 125 | /** |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | */ |
163 | 163 | static protected $_schemaPropertyExpectedTypes = [ |
164 | 164 | 'catalogNumber' => ['Text'], |
165 | - 'creditedTo' => ['Organization','Person'], |
|
165 | + 'creditedTo' => ['Organization', 'Person'], |
|
166 | 166 | 'duration' => ['Duration'], |
167 | 167 | 'musicReleaseFormat' => ['MusicReleaseFormatType'], |
168 | 168 | 'recordLabel' => ['Organization'], |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | { |
242 | 242 | $rules = parent::rules(); |
243 | 243 | $rules = array_merge($rules, [ |
244 | - [['catalogNumber','creditedTo','duration','musicReleaseFormat','recordLabel','releaseOf'], 'validateJsonSchema'], |
|
244 | + [['catalogNumber', 'creditedTo', 'duration', 'musicReleaseFormat', 'recordLabel', 'releaseOf'], '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 | ]); |