@@ -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(); |
@@ -181,8 +181,8 @@ discard block |
||
| 181 | 181 | static protected $_schemaPropertyExpectedTypes = [ |
| 182 | 182 | 'actor' => ['Person'], |
| 183 | 183 | 'director' => ['Person'], |
| 184 | - 'episodeNumber' => ['Integer','Text'], |
|
| 185 | - 'musicBy' => ['MusicGroup','Person'], |
|
| 184 | + 'episodeNumber' => ['Integer', 'Text'], |
|
| 185 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
| 186 | 186 | 'partOfSeason' => ['CreativeWorkSeason'], |
| 187 | 187 | 'partOfSeries' => ['CreativeWorkSeries'], |
| 188 | 188 | 'productionCompany' => ['Organization'], |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | { |
| 264 | 264 | $rules = parent::rules(); |
| 265 | 265 | $rules = array_merge($rules, [ |
| 266 | - [['actor','director','episodeNumber','musicBy','partOfSeason','partOfSeries','productionCompany','trailer'], 'validateJsonSchema'], |
|
| 266 | + [['actor', 'director', 'episodeNumber', 'musicBy', 'partOfSeason', 'partOfSeries', 'productionCompany', 'trailer'], 'validateJsonSchema'], |
|
| 267 | 267 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 268 | 268 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 269 | 269 | ]); |
@@ -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(); |
@@ -476,7 +476,7 @@ discard block |
||
| 476 | 476 | */ |
| 477 | 477 | static protected $_schemaPropertyExpectedTypes = [ |
| 478 | 478 | 'additionalProperty' => ['PropertyValue'], |
| 479 | - 'address' => ['PostalAddress','Text'], |
|
| 479 | + 'address' => ['PostalAddress', 'Text'], |
|
| 480 | 480 | 'aggregateRating' => ['AggregateRating'], |
| 481 | 481 | 'amenityFeature' => ['LocationFeatureSpecification'], |
| 482 | 482 | 'branchCode' => ['Text'], |
@@ -484,28 +484,28 @@ discard block |
||
| 484 | 484 | 'containsPlace' => ['Place'], |
| 485 | 485 | 'event' => ['Event'], |
| 486 | 486 | 'faxNumber' => ['Text'], |
| 487 | - 'geo' => ['GeoCoordinates','GeoShape'], |
|
| 488 | - 'geoContains' => ['GeospatialGeometry','Place'], |
|
| 489 | - 'geoCoveredBy' => ['GeospatialGeometry','Place'], |
|
| 490 | - 'geoCovers' => ['GeospatialGeometry','Place'], |
|
| 491 | - 'geoCrosses' => ['GeospatialGeometry','Place'], |
|
| 492 | - 'geoDisjoint' => ['GeospatialGeometry','Place'], |
|
| 493 | - 'geoEquals' => ['GeospatialGeometry','Place'], |
|
| 494 | - 'geoIntersects' => ['GeospatialGeometry','Place'], |
|
| 495 | - 'geoOverlaps' => ['GeospatialGeometry','Place'], |
|
| 496 | - 'geoTouches' => ['GeospatialGeometry','Place'], |
|
| 497 | - 'geoWithin' => ['GeospatialGeometry','Place'], |
|
| 487 | + 'geo' => ['GeoCoordinates', 'GeoShape'], |
|
| 488 | + 'geoContains' => ['GeospatialGeometry', 'Place'], |
|
| 489 | + 'geoCoveredBy' => ['GeospatialGeometry', 'Place'], |
|
| 490 | + 'geoCovers' => ['GeospatialGeometry', 'Place'], |
|
| 491 | + 'geoCrosses' => ['GeospatialGeometry', 'Place'], |
|
| 492 | + 'geoDisjoint' => ['GeospatialGeometry', 'Place'], |
|
| 493 | + 'geoEquals' => ['GeospatialGeometry', 'Place'], |
|
| 494 | + 'geoIntersects' => ['GeospatialGeometry', 'Place'], |
|
| 495 | + 'geoOverlaps' => ['GeospatialGeometry', 'Place'], |
|
| 496 | + 'geoTouches' => ['GeospatialGeometry', 'Place'], |
|
| 497 | + 'geoWithin' => ['GeospatialGeometry', 'Place'], |
|
| 498 | 498 | 'globalLocationNumber' => ['Text'], |
| 499 | 499 | 'hasDriveThroughService' => ['Boolean'], |
| 500 | - 'hasMap' => ['Map','URL'], |
|
| 500 | + 'hasMap' => ['Map', 'URL'], |
|
| 501 | 501 | 'isAccessibleForFree' => ['Boolean'], |
| 502 | 502 | 'isicV4' => ['Text'], |
| 503 | - 'latitude' => ['Number','Text'], |
|
| 504 | - 'logo' => ['ImageObject','URL'], |
|
| 505 | - 'longitude' => ['Number','Text'], |
|
| 503 | + 'latitude' => ['Number', 'Text'], |
|
| 504 | + 'logo' => ['ImageObject', 'URL'], |
|
| 505 | + 'longitude' => ['Number', 'Text'], |
|
| 506 | 506 | 'maximumAttendeeCapacity' => ['Integer'], |
| 507 | 507 | 'openingHoursSpecification' => ['OpeningHoursSpecification'], |
| 508 | - 'photo' => ['ImageObject','Photograph'], |
|
| 508 | + 'photo' => ['ImageObject', 'Photograph'], |
|
| 509 | 509 | 'publicAccess' => ['Boolean'], |
| 510 | 510 | 'review' => ['Review'], |
| 511 | 511 | 'slogan' => ['Text'], |
@@ -619,7 +619,7 @@ discard block |
||
| 619 | 619 | { |
| 620 | 620 | $rules = parent::rules(); |
| 621 | 621 | $rules = array_merge($rules, [ |
| 622 | - [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasDriveThroughService','hasMap','isAccessibleForFree','isicV4','latitude','logo','longitude','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone','tourBookingPage'], 'validateJsonSchema'], |
|
| 622 | + [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasDriveThroughService', 'hasMap', 'isAccessibleForFree', 'isicV4', 'latitude', 'logo', 'longitude', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone', 'tourBookingPage'], 'validateJsonSchema'], |
|
| 623 | 623 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 624 | 624 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 625 | 625 | ]); |
@@ -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(); |
@@ -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 | ]); |
@@ -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(); |
@@ -215,13 +215,13 @@ discard block |
||
| 215 | 215 | */ |
| 216 | 216 | static protected $_schemaPropertyExpectedTypes = [ |
| 217 | 217 | 'actionStatus' => ['ActionStatusType'], |
| 218 | - 'endTime' => ['DateTime','Time'], |
|
| 218 | + 'endTime' => ['DateTime', 'Time'], |
|
| 219 | 219 | 'instrument' => ['Thing'], |
| 220 | - 'location' => ['Place','PostalAddress','Text','VirtualLocation'], |
|
| 220 | + 'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'], |
|
| 221 | 221 | 'object' => ['Thing'], |
| 222 | - 'participant' => ['Organization','Person'], |
|
| 222 | + 'participant' => ['Organization', 'Person'], |
|
| 223 | 223 | 'result' => ['Thing'], |
| 224 | - 'startTime' => ['DateTime','Time'], |
|
| 224 | + 'startTime' => ['DateTime', 'Time'], |
|
| 225 | 225 | 'target' => ['EntryPoint'] |
| 226 | 226 | ]; |
| 227 | 227 | |
@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | { |
| 301 | 301 | $rules = parent::rules(); |
| 302 | 302 | $rules = array_merge($rules, [ |
| 303 | - [['actionStatus','endTime','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'], |
|
| 303 | + [['actionStatus', 'endTime', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'], |
|
| 304 | 304 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 305 | 305 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 306 | 306 | ]); |
@@ -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(); |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * @var array |
| 135 | 135 | */ |
| 136 | 136 | static protected $_schemaPropertyExpectedTypes = [ |
| 137 | - 'bed' => ['BedDetails','BedType','Text'], |
|
| 137 | + 'bed' => ['BedDetails', 'BedType', 'Text'], |
|
| 138 | 138 | 'occupancy' => ['QuantitativeValue'] |
| 139 | 139 | ]; |
| 140 | 140 | |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | { |
| 207 | 207 | $rules = parent::rules(); |
| 208 | 208 | $rules = array_merge($rules, [ |
| 209 | - [['bed','occupancy'], 'validateJsonSchema'], |
|
| 209 | + [['bed', 'occupancy'], 'validateJsonSchema'], |
|
| 210 | 210 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 211 | 211 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 212 | 212 | ]); |
@@ -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(); |
@@ -186,15 +186,15 @@ discard block |
||
| 186 | 186 | * @var array |
| 187 | 187 | */ |
| 188 | 188 | static protected $_schemaPropertyExpectedTypes = [ |
| 189 | - 'bccRecipient' => ['ContactPoint','Organization','Person'], |
|
| 190 | - 'ccRecipient' => ['ContactPoint','Organization','Person'], |
|
| 191 | - 'dateRead' => ['Date','DateTime'], |
|
| 189 | + 'bccRecipient' => ['ContactPoint', 'Organization', 'Person'], |
|
| 190 | + 'ccRecipient' => ['ContactPoint', 'Organization', 'Person'], |
|
| 191 | + 'dateRead' => ['Date', 'DateTime'], |
|
| 192 | 192 | 'dateReceived' => ['DateTime'], |
| 193 | 193 | 'dateSent' => ['DateTime'], |
| 194 | 194 | 'messageAttachment' => ['CreativeWork'], |
| 195 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'], |
|
| 196 | - 'sender' => ['Audience','Organization','Person'], |
|
| 197 | - 'toRecipient' => ['Audience','ContactPoint','Organization','Person'] |
|
| 195 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'], |
|
| 196 | + 'sender' => ['Audience', 'Organization', 'Person'], |
|
| 197 | + 'toRecipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
| 198 | 198 | ]; |
| 199 | 199 | |
| 200 | 200 | /** |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | { |
| 273 | 273 | $rules = parent::rules(); |
| 274 | 274 | $rules = array_merge($rules, [ |
| 275 | - [['bccRecipient','ccRecipient','dateRead','dateReceived','dateSent','messageAttachment','recipient','sender','toRecipient'], 'validateJsonSchema'], |
|
| 275 | + [['bccRecipient', 'ccRecipient', 'dateRead', 'dateReceived', 'dateSent', 'messageAttachment', 'recipient', 'sender', 'toRecipient'], 'validateJsonSchema'], |
|
| 276 | 276 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 277 | 277 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 278 | 278 | ]); |
@@ -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(); |