@@ -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(); |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * @var array |
122 | 122 | */ |
123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
125 | 125 | ]; |
126 | 126 | |
127 | 127 | /** |
@@ -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(); |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | */ |
132 | 132 | static protected $_schemaPropertyExpectedTypes = [ |
133 | 133 | 'numberOfBeds' => ['Number'], |
134 | - 'typeOfBed' => ['BedType','Text'] |
|
134 | + 'typeOfBed' => ['BedType', '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 | - [['numberOfBeds','typeOfBed'], 'validateJsonSchema'], |
|
205 | + [['numberOfBeds', 'typeOfBed'], '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 | ]); |
@@ -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(); |
@@ -436,7 +436,7 @@ discard block |
||
436 | 436 | */ |
437 | 437 | static protected $_schemaPropertyExpectedTypes = [ |
438 | 438 | 'additionalProperty' => ['PropertyValue'], |
439 | - 'address' => ['PostalAddress','Text'], |
|
439 | + 'address' => ['PostalAddress', 'Text'], |
|
440 | 440 | 'aggregateRating' => ['AggregateRating'], |
441 | 441 | 'amenityFeature' => ['LocationFeatureSpecification'], |
442 | 442 | 'branchCode' => ['Text'], |
@@ -444,25 +444,25 @@ discard block |
||
444 | 444 | 'containsPlace' => ['Place'], |
445 | 445 | 'event' => ['Event'], |
446 | 446 | 'faxNumber' => ['Text'], |
447 | - 'geo' => ['GeoCoordinates','GeoShape'], |
|
448 | - 'geoContains' => ['GeospatialGeometry','Place'], |
|
449 | - 'geoCoveredBy' => ['GeospatialGeometry','Place'], |
|
450 | - 'geoCovers' => ['GeospatialGeometry','Place'], |
|
451 | - 'geoCrosses' => ['GeospatialGeometry','Place'], |
|
452 | - 'geoDisjoint' => ['GeospatialGeometry','Place'], |
|
453 | - 'geoEquals' => ['GeospatialGeometry','Place'], |
|
454 | - 'geoIntersects' => ['GeospatialGeometry','Place'], |
|
455 | - 'geoOverlaps' => ['GeospatialGeometry','Place'], |
|
456 | - 'geoTouches' => ['GeospatialGeometry','Place'], |
|
457 | - 'geoWithin' => ['GeospatialGeometry','Place'], |
|
447 | + 'geo' => ['GeoCoordinates', 'GeoShape'], |
|
448 | + 'geoContains' => ['GeospatialGeometry', 'Place'], |
|
449 | + 'geoCoveredBy' => ['GeospatialGeometry', 'Place'], |
|
450 | + 'geoCovers' => ['GeospatialGeometry', 'Place'], |
|
451 | + 'geoCrosses' => ['GeospatialGeometry', 'Place'], |
|
452 | + 'geoDisjoint' => ['GeospatialGeometry', 'Place'], |
|
453 | + 'geoEquals' => ['GeospatialGeometry', 'Place'], |
|
454 | + 'geoIntersects' => ['GeospatialGeometry', 'Place'], |
|
455 | + 'geoOverlaps' => ['GeospatialGeometry', 'Place'], |
|
456 | + 'geoTouches' => ['GeospatialGeometry', 'Place'], |
|
457 | + 'geoWithin' => ['GeospatialGeometry', 'Place'], |
|
458 | 458 | 'globalLocationNumber' => ['Text'], |
459 | - 'hasMap' => ['Map','URL'], |
|
459 | + 'hasMap' => ['Map', 'URL'], |
|
460 | 460 | 'isAccessibleForFree' => ['Boolean'], |
461 | 461 | 'isicV4' => ['Text'], |
462 | - 'logo' => ['ImageObject','URL'], |
|
462 | + 'logo' => ['ImageObject', 'URL'], |
|
463 | 463 | 'maximumAttendeeCapacity' => ['Integer'], |
464 | 464 | 'openingHoursSpecification' => ['OpeningHoursSpecification'], |
465 | - 'photo' => ['ImageObject','Photograph'], |
|
465 | + 'photo' => ['ImageObject', 'Photograph'], |
|
466 | 466 | 'publicAccess' => ['Boolean'], |
467 | 467 | 'review' => ['Review'], |
468 | 468 | 'slogan' => ['Text'], |
@@ -571,7 +571,7 @@ discard block |
||
571 | 571 | { |
572 | 572 | $rules = parent::rules(); |
573 | 573 | $rules = array_merge($rules, [ |
574 | - [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'], |
|
574 | + [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone'], 'validateJsonSchema'], |
|
575 | 575 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
576 | 576 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
577 | 577 | ]); |
@@ -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(); |
@@ -218,13 +218,13 @@ discard block |
||
218 | 218 | */ |
219 | 219 | static protected $_schemaPropertyExpectedTypes = [ |
220 | 220 | 'actionStatus' => ['ActionStatusType'], |
221 | - 'agent' => ['Organization','Person'], |
|
221 | + 'agent' => ['Organization', 'Person'], |
|
222 | 222 | 'endTime' => ['DateTime'], |
223 | 223 | 'error' => ['Thing'], |
224 | 224 | 'instrument' => ['Thing'], |
225 | - 'location' => ['Place','PostalAddress','Text'], |
|
225 | + 'location' => ['Place', 'PostalAddress', 'Text'], |
|
226 | 226 | 'object' => ['Thing'], |
227 | - 'participant' => ['Organization','Person'], |
|
227 | + 'participant' => ['Organization', 'Person'], |
|
228 | 228 | 'result' => ['Thing'], |
229 | 229 | 'startTime' => ['DateTime'], |
230 | 230 | 'target' => ['EntryPoint'] |
@@ -307,7 +307,7 @@ discard block |
||
307 | 307 | { |
308 | 308 | $rules = parent::rules(); |
309 | 309 | $rules = array_merge($rules, [ |
310 | - [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'], |
|
310 | + [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], '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 | ]); |
@@ -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 | ]); |