@@ -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 | 'geoMidpoint' => ['GeoCoordinates'], |
134 | - 'geoRadius' => ['Distance','Number','Text'] |
|
134 | + 'geoRadius' => ['Distance', 'Number', '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 | - [['geoMidpoint','geoRadius'], 'validateJsonSchema'], |
|
205 | + [['geoMidpoint', 'geoRadius'], '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(); |
@@ -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(); |
@@ -161,8 +161,8 @@ discard block |
||
161 | 161 | static protected $_schemaPropertyExpectedTypes = [ |
162 | 162 | 'numberOfAccommodationUnits' => ['QuantitativeValue'], |
163 | 163 | 'numberOfAvailableAccommodationUnits' => ['QuantitativeValue'], |
164 | - 'numberOfBedrooms' => ['Number','QuantitativeValue'], |
|
165 | - 'petsAllowed' => ['Boolean','Text'], |
|
164 | + 'numberOfBedrooms' => ['Number', 'QuantitativeValue'], |
|
165 | + 'petsAllowed' => ['Boolean', 'Text'], |
|
166 | 166 | 'tourBookingPage' => ['URL'] |
167 | 167 | ]; |
168 | 168 | |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | { |
238 | 238 | $rules = parent::rules(); |
239 | 239 | $rules = array_merge($rules, [ |
240 | - [['numberOfAccommodationUnits','numberOfAvailableAccommodationUnits','numberOfBedrooms','petsAllowed','tourBookingPage'], 'validateJsonSchema'], |
|
240 | + [['numberOfAccommodationUnits', 'numberOfAvailableAccommodationUnits', 'numberOfBedrooms', 'petsAllowed', 'tourBookingPage'], 'validateJsonSchema'], |
|
241 | 241 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
242 | 242 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
243 | 243 | ]); |
@@ -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(); |
@@ -147,8 +147,8 @@ discard block |
||
147 | 147 | * @var array |
148 | 148 | */ |
149 | 149 | static protected $_schemaPropertyExpectedTypes = [ |
150 | - 'acceptsReservations' => ['Boolean','Text','URL'], |
|
151 | - 'hasMenu' => ['Menu','Text','URL'], |
|
150 | + 'acceptsReservations' => ['Boolean', 'Text', 'URL'], |
|
151 | + 'hasMenu' => ['Menu', 'Text', 'URL'], |
|
152 | 152 | 'servesCuisine' => ['Text'], |
153 | 153 | 'starRating' => ['Rating'] |
154 | 154 | ]; |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | { |
224 | 224 | $rules = parent::rules(); |
225 | 225 | $rules = array_merge($rules, [ |
226 | - [['acceptsReservations','hasMenu','servesCuisine','starRating'], 'validateJsonSchema'], |
|
226 | + [['acceptsReservations', 'hasMenu', 'servesCuisine', 'starRating'], 'validateJsonSchema'], |
|
227 | 227 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
228 | 228 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
229 | 229 | ]); |
@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -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 | ]); |