@@ -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 | /** |
@@ -215,18 +215,18 @@ discard block |
||
| 215 | 215 | * @var array |
| 216 | 216 | */ |
| 217 | 217 | static protected $_schemaPropertyExpectedTypes = [ |
| 218 | - 'artEdition' => ['Integer','Text'], |
|
| 219 | - 'artMedium' => ['Text','URL'], |
|
| 220 | - 'artform' => ['Text','URL'], |
|
| 218 | + 'artEdition' => ['Integer', 'Text'], |
|
| 219 | + 'artMedium' => ['Text', 'URL'], |
|
| 220 | + 'artform' => ['Text', 'URL'], |
|
| 221 | 221 | 'artist' => ['Person'], |
| 222 | - 'artworkSurface' => ['Text','URL'], |
|
| 222 | + 'artworkSurface' => ['Text', 'URL'], |
|
| 223 | 223 | 'colorist' => ['Person'], |
| 224 | - 'depth' => ['Distance','QuantitativeValue'], |
|
| 225 | - 'height' => ['Distance','QuantitativeValue'], |
|
| 224 | + 'depth' => ['Distance', 'QuantitativeValue'], |
|
| 225 | + 'height' => ['Distance', 'QuantitativeValue'], |
|
| 226 | 226 | 'inker' => ['Person'], |
| 227 | 227 | 'letterer' => ['Person'], |
| 228 | 228 | 'penciler' => ['Person'], |
| 229 | - 'width' => ['Distance','QuantitativeValue'] |
|
| 229 | + 'width' => ['Distance', 'QuantitativeValue'] |
|
| 230 | 230 | ]; |
| 231 | 231 | |
| 232 | 232 | /** |
@@ -307,7 +307,7 @@ discard block |
||
| 307 | 307 | { |
| 308 | 308 | $rules = parent::rules(); |
| 309 | 309 | $rules = array_merge($rules, [ |
| 310 | - [['artEdition','artMedium','artform','artist','artworkSurface','colorist','depth','height','inker','letterer','penciler','width'], 'validateJsonSchema'], |
|
| 310 | + [['artEdition', 'artMedium', 'artform', 'artist', 'artworkSurface', 'colorist', 'depth', 'height', 'inker', 'letterer', 'penciler', 'width'], 'validateJsonSchema'], |
|
| 311 | 311 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 312 | 312 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 313 | 313 | ]); |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | static protected $_schemaPropertyExpectedTypes = [ |
| 158 | 158 | 'actor' => ['Person'], |
| 159 | 159 | 'director' => ['Person'], |
| 160 | - 'musicBy' => ['MusicGroup','Person'], |
|
| 160 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
| 161 | 161 | 'productionCompany' => ['Organization'], |
| 162 | 162 | 'trailer' => ['VideoObject'] |
| 163 | 163 | ]; |
@@ -233,7 +233,7 @@ discard block |
||
| 233 | 233 | { |
| 234 | 234 | $rules = parent::rules(); |
| 235 | 235 | $rules = array_merge($rules, [ |
| 236 | - [['actor','director','musicBy','productionCompany','trailer'], 'validateJsonSchema'], |
|
| 236 | + [['actor', 'director', 'musicBy', 'productionCompany', 'trailer'], 'validateJsonSchema'], |
|
| 237 | 237 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 238 | 238 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 239 | 239 | ]); |