@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -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 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -222,15 +222,15 @@ discard block |
||
| 222 | 222 | */ |
| 223 | 223 | static protected $_schemaPropertyExpectedTypes = [ |
| 224 | 224 | 'actionStatus' => ['ActionStatusType'], |
| 225 | - 'agent' => ['Organization','Person'], |
|
| 226 | - 'endTime' => ['DateTime','Time'], |
|
| 225 | + 'agent' => ['Organization', 'Person'], |
|
| 226 | + 'endTime' => ['DateTime', 'Time'], |
|
| 227 | 227 | 'error' => ['Thing'], |
| 228 | 228 | 'instrument' => ['Thing'], |
| 229 | - 'location' => ['Place','PostalAddress','Text','VirtualLocation'], |
|
| 229 | + 'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'], |
|
| 230 | 230 | 'object' => ['Thing'], |
| 231 | - 'participant' => ['Organization','Person'], |
|
| 231 | + 'participant' => ['Organization', 'Person'], |
|
| 232 | 232 | 'result' => ['Thing'], |
| 233 | - 'startTime' => ['DateTime','Time'], |
|
| 233 | + 'startTime' => ['DateTime', 'Time'], |
|
| 234 | 234 | 'target' => ['EntryPoint'] |
| 235 | 235 | ]; |
| 236 | 236 | |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | { |
| 312 | 312 | $rules = parent::rules(); |
| 313 | 313 | $rules = array_merge($rules, [ |
| 314 | - [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'], |
|
| 314 | + [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'], |
|
| 315 | 315 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 316 | 316 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 317 | 317 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | static protected $_schemaPropertyExpectedTypes = [ |
| 146 | 146 | 'broadcastOfEvent' => ['Event'], |
| 147 | 147 | 'isLiveBroadcast' => ['Boolean'], |
| 148 | - 'subtitleLanguage' => ['Language','Text'], |
|
| 148 | + 'subtitleLanguage' => ['Language', 'Text'], |
|
| 149 | 149 | 'videoFormat' => ['Text'] |
| 150 | 150 | ]; |
| 151 | 151 | |
@@ -219,7 +219,7 @@ discard block |
||
| 219 | 219 | { |
| 220 | 220 | $rules = parent::rules(); |
| 221 | 221 | $rules = array_merge($rules, [ |
| 222 | - [['broadcastOfEvent','isLiveBroadcast','subtitleLanguage','videoFormat'], 'validateJsonSchema'], |
|
| 222 | + [['broadcastOfEvent', 'isLiveBroadcast', 'subtitleLanguage', 'videoFormat'], 'validateJsonSchema'], |
|
| 223 | 223 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 224 | 224 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 225 | 225 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | */ |
| 147 | 147 | static protected $_schemaPropertyExpectedTypes = [ |
| 148 | 148 | 'boardingGroup' => ['Text'], |
| 149 | - 'passengerPriorityStatus' => ['QualitativeValue','Text'], |
|
| 149 | + 'passengerPriorityStatus' => ['QualitativeValue', 'Text'], |
|
| 150 | 150 | 'passengerSequenceNumber' => ['Text'], |
| 151 | 151 | 'securityScreening' => ['Text'] |
| 152 | 152 | ]; |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | { |
| 222 | 222 | $rules = parent::rules(); |
| 223 | 223 | $rules = array_merge($rules, [ |
| 224 | - [['boardingGroup','passengerPriorityStatus','passengerSequenceNumber','securityScreening'], 'validateJsonSchema'], |
|
| 224 | + [['boardingGroup', 'passengerPriorityStatus', 'passengerSequenceNumber', 'securityScreening'], 'validateJsonSchema'], |
|
| 225 | 225 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 226 | 226 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 227 | 227 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -172,8 +172,8 @@ discard block |
||
| 172 | 172 | static protected $_schemaPropertyExpectedTypes = [ |
| 173 | 173 | 'engineDisplacement' => ['QuantitativeValue'], |
| 174 | 174 | 'enginePower' => ['QuantitativeValue'], |
| 175 | - 'engineType' => ['QualitativeValue','Text','URL'], |
|
| 176 | - 'fuelType' => ['QualitativeValue','Text','URL'], |
|
| 175 | + 'engineType' => ['QualitativeValue', 'Text', 'URL'], |
|
| 176 | + 'fuelType' => ['QualitativeValue', 'Text', 'URL'], |
|
| 177 | 177 | 'torque' => ['QuantitativeValue'] |
| 178 | 178 | ]; |
| 179 | 179 | |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | { |
| 249 | 249 | $rules = parent::rules(); |
| 250 | 250 | $rules = array_merge($rules, [ |
| 251 | - [['engineDisplacement','enginePower','engineType','fuelType','torque'], 'validateJsonSchema'], |
|
| 251 | + [['engineDisplacement', 'enginePower', 'engineType', 'fuelType', 'torque'], 'validateJsonSchema'], |
|
| 252 | 252 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 253 | 253 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 254 | 254 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -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 | ]); |