@@ -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(); |
@@ -204,13 +204,13 @@ discard block |
||
| 204 | 204 | static protected $_schemaPropertyExpectedTypes = [ |
| 205 | 205 | 'deliveryAddress' => ['PostalAddress'], |
| 206 | 206 | 'deliveryStatus' => ['DeliveryEvent'], |
| 207 | - 'expectedArrivalFrom' => ['Date','DateTime'], |
|
| 208 | - 'expectedArrivalUntil' => ['Date','DateTime'], |
|
| 207 | + 'expectedArrivalFrom' => ['Date', 'DateTime'], |
|
| 208 | + 'expectedArrivalUntil' => ['Date', 'DateTime'], |
|
| 209 | 209 | 'hasDeliveryMethod' => ['DeliveryMethod'], |
| 210 | 210 | 'itemShipped' => ['Product'], |
| 211 | 211 | 'originAddress' => ['PostalAddress'], |
| 212 | 212 | 'partOfOrder' => ['Order'], |
| 213 | - 'provider' => ['Organization','Person'], |
|
| 213 | + 'provider' => ['Organization', 'Person'], |
|
| 214 | 214 | 'trackingNumber' => ['Text'], |
| 215 | 215 | 'trackingUrl' => ['URL'] |
| 216 | 216 | ]; |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | { |
| 293 | 293 | $rules = parent::rules(); |
| 294 | 294 | $rules = array_merge($rules, [ |
| 295 | - [['deliveryAddress','deliveryStatus','expectedArrivalFrom','expectedArrivalUntil','hasDeliveryMethod','itemShipped','originAddress','partOfOrder','provider','trackingNumber','trackingUrl'], 'validateJsonSchema'], |
|
| 295 | + [['deliveryAddress', 'deliveryStatus', 'expectedArrivalFrom', 'expectedArrivalUntil', 'hasDeliveryMethod', 'itemShipped', 'originAddress', 'partOfOrder', 'provider', 'trackingNumber', 'trackingUrl'], 'validateJsonSchema'], |
|
| 296 | 296 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 297 | 297 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 298 | 298 | ]); |
@@ -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(); |
@@ -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 | ]); |
@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -456,36 +456,36 @@ discard block |
||
| 456 | 456 | 'about' => ['Thing'], |
| 457 | 457 | 'actor' => ['Person'], |
| 458 | 458 | 'aggregateRating' => ['AggregateRating'], |
| 459 | - 'attendee' => ['Organization','Person'], |
|
| 459 | + 'attendee' => ['Organization', 'Person'], |
|
| 460 | 460 | 'audience' => ['Audience'], |
| 461 | - 'composer' => ['Organization','Person'], |
|
| 462 | - 'contributor' => ['Organization','Person'], |
|
| 461 | + 'composer' => ['Organization', 'Person'], |
|
| 462 | + 'contributor' => ['Organization', 'Person'], |
|
| 463 | 463 | 'director' => ['Person'], |
| 464 | - 'doorTime' => ['DateTime','Time'], |
|
| 464 | + 'doorTime' => ['DateTime', 'Time'], |
|
| 465 | 465 | 'duration' => ['Duration'], |
| 466 | - 'endDate' => ['Date','DateTime'], |
|
| 466 | + 'endDate' => ['Date', 'DateTime'], |
|
| 467 | 467 | 'eventAttendanceMode' => ['EventAttendanceModeEnumeration'], |
| 468 | 468 | 'eventSchedule' => ['Schedule'], |
| 469 | 469 | 'eventStatus' => ['EventStatusType'], |
| 470 | - 'funder' => ['Organization','Person'], |
|
| 471 | - 'inLanguage' => ['Language','Text'], |
|
| 470 | + 'funder' => ['Organization', 'Person'], |
|
| 471 | + 'inLanguage' => ['Language', 'Text'], |
|
| 472 | 472 | 'isAccessibleForFree' => ['Boolean'], |
| 473 | - 'location' => ['Place','PostalAddress','Text','VirtualLocation'], |
|
| 473 | + 'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'], |
|
| 474 | 474 | 'maximumAttendeeCapacity' => ['Integer'], |
| 475 | 475 | 'maximumPhysicalAttendeeCapacity' => ['Integer'], |
| 476 | 476 | 'maximumVirtualAttendeeCapacity' => ['Integer'], |
| 477 | - 'offers' => ['Demand','Offer'], |
|
| 478 | - 'organizer' => ['Organization','Person'], |
|
| 479 | - 'performer' => ['Organization','Person'], |
|
| 477 | + 'offers' => ['Demand', 'Offer'], |
|
| 478 | + 'organizer' => ['Organization', 'Person'], |
|
| 479 | + 'performer' => ['Organization', 'Person'], |
|
| 480 | 480 | 'previousStartDate' => ['Date'], |
| 481 | 481 | 'recordedIn' => ['CreativeWork'], |
| 482 | 482 | 'remainingAttendeeCapacity' => ['Integer'], |
| 483 | 483 | 'review' => ['Review'], |
| 484 | - 'sponsor' => ['Organization','Person'], |
|
| 485 | - 'startDate' => ['Date','DateTime'], |
|
| 484 | + 'sponsor' => ['Organization', 'Person'], |
|
| 485 | + 'startDate' => ['Date', 'DateTime'], |
|
| 486 | 486 | 'subEvent' => ['Event'], |
| 487 | 487 | 'superEvent' => ['Event'], |
| 488 | - 'translator' => ['Organization','Person'], |
|
| 488 | + 'translator' => ['Organization', 'Person'], |
|
| 489 | 489 | 'typicalAgeRange' => ['Text'], |
| 490 | 490 | 'workFeatured' => ['CreativeWork'], |
| 491 | 491 | 'workPerformed' => ['CreativeWork'] |
@@ -593,7 +593,7 @@ discard block |
||
| 593 | 593 | { |
| 594 | 594 | $rules = parent::rules(); |
| 595 | 595 | $rules = array_merge($rules, [ |
| 596 | - [['about','actor','aggregateRating','attendee','audience','composer','contributor','director','doorTime','duration','endDate','eventAttendanceMode','eventSchedule','eventStatus','funder','inLanguage','isAccessibleForFree','location','maximumAttendeeCapacity','maximumPhysicalAttendeeCapacity','maximumVirtualAttendeeCapacity','offers','organizer','performer','previousStartDate','recordedIn','remainingAttendeeCapacity','review','sponsor','startDate','subEvent','superEvent','translator','typicalAgeRange','workFeatured','workPerformed'], 'validateJsonSchema'], |
|
| 596 | + [['about', 'actor', 'aggregateRating', 'attendee', 'audience', 'composer', 'contributor', 'director', 'doorTime', 'duration', 'endDate', 'eventAttendanceMode', 'eventSchedule', 'eventStatus', 'funder', 'inLanguage', 'isAccessibleForFree', 'location', 'maximumAttendeeCapacity', 'maximumPhysicalAttendeeCapacity', 'maximumVirtualAttendeeCapacity', 'offers', 'organizer', 'performer', 'previousStartDate', 'recordedIn', 'remainingAttendeeCapacity', 'review', 'sponsor', 'startDate', 'subEvent', 'superEvent', 'translator', 'typicalAgeRange', 'workFeatured', 'workPerformed'], 'validateJsonSchema'], |
|
| 597 | 597 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 598 | 598 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 599 | 599 | ]); |