@@ -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(); |
@@ -203,14 +203,14 @@ discard block |
||
| 203 | 203 | * @var array |
| 204 | 204 | */ |
| 205 | 205 | static protected $_schemaPropertyExpectedTypes = [ |
| 206 | - 'breadcrumb' => ['BreadcrumbList','Text'], |
|
| 206 | + 'breadcrumb' => ['BreadcrumbList', 'Text'], |
|
| 207 | 207 | 'lastReviewed' => ['Date'], |
| 208 | 208 | 'mainContentOfPage' => ['WebPageElement'], |
| 209 | 209 | 'primaryImageOfPage' => ['ImageObject'], |
| 210 | 210 | 'relatedLink' => ['URL'], |
| 211 | - 'reviewedBy' => ['Organization','Person'], |
|
| 211 | + 'reviewedBy' => ['Organization', 'Person'], |
|
| 212 | 212 | 'significantLink' => ['URL'], |
| 213 | - 'speakable' => ['SpeakableSpecification','URL'], |
|
| 213 | + 'speakable' => ['SpeakableSpecification', 'URL'], |
|
| 214 | 214 | 'specialty' => ['Specialty'] |
| 215 | 215 | ]; |
| 216 | 216 | |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | { |
| 290 | 290 | $rules = parent::rules(); |
| 291 | 291 | $rules = array_merge($rules, [ |
| 292 | - [['breadcrumb','lastReviewed','mainContentOfPage','primaryImageOfPage','relatedLink','reviewedBy','significantLink','speakable','specialty'], 'validateJsonSchema'], |
|
| 292 | + [['breadcrumb', 'lastReviewed', 'mainContentOfPage', 'primaryImageOfPage', 'relatedLink', 'reviewedBy', 'significantLink', 'speakable', 'specialty'], 'validateJsonSchema'], |
|
| 293 | 293 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 294 | 294 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 295 | 295 | ]); |
@@ -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 | ]); |
@@ -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(); |
@@ -201,7 +201,7 @@ |
||
| 201 | 201 | { |
| 202 | 202 | $rules = parent::rules(); |
| 203 | 203 | $rules = array_merge($rules, [ |
| 204 | - [['cssSelector','xpath'], 'validateJsonSchema'], |
|
| 204 | + [['cssSelector', 'xpath'], 'validateJsonSchema'], |
|
| 205 | 205 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 206 | 206 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 207 | 207 | ]); |
@@ -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(); |
@@ -283,24 +283,24 @@ discard block |
||
| 283 | 283 | static protected $_schemaPropertyExpectedTypes = [ |
| 284 | 284 | 'acceptedOffer' => ['Offer'], |
| 285 | 285 | 'billingAddress' => ['PostalAddress'], |
| 286 | - 'broker' => ['Organization','Person'], |
|
| 286 | + 'broker' => ['Organization', 'Person'], |
|
| 287 | 287 | 'confirmationNumber' => ['Text'], |
| 288 | - 'customer' => ['Organization','Person'], |
|
| 289 | - 'discount' => ['Number','Text'], |
|
| 288 | + 'customer' => ['Organization', 'Person'], |
|
| 289 | + 'discount' => ['Number', 'Text'], |
|
| 290 | 290 | 'discountCode' => ['Text'], |
| 291 | 291 | 'discountCurrency' => ['Text'], |
| 292 | 292 | 'isGift' => ['Boolean'], |
| 293 | - 'orderDate' => ['Date','DateTime'], |
|
| 293 | + 'orderDate' => ['Date', 'DateTime'], |
|
| 294 | 294 | 'orderDelivery' => ['ParcelDelivery'], |
| 295 | 295 | 'orderNumber' => ['Text'], |
| 296 | 296 | 'orderStatus' => ['OrderStatus'], |
| 297 | - 'orderedItem' => ['OrderItem','Product','Service'], |
|
| 297 | + 'orderedItem' => ['OrderItem', 'Product', 'Service'], |
|
| 298 | 298 | 'partOfInvoice' => ['Invoice'], |
| 299 | - 'paymentDueDate' => ['Date','DateTime'], |
|
| 299 | + 'paymentDueDate' => ['Date', 'DateTime'], |
|
| 300 | 300 | 'paymentMethod' => ['PaymentMethod'], |
| 301 | 301 | 'paymentMethodId' => ['Text'], |
| 302 | 302 | 'paymentUrl' => ['URL'], |
| 303 | - 'seller' => ['Organization','Person'] |
|
| 303 | + 'seller' => ['Organization', 'Person'] |
|
| 304 | 304 | ]; |
| 305 | 305 | |
| 306 | 306 | /** |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | { |
| 390 | 390 | $rules = parent::rules(); |
| 391 | 391 | $rules = array_merge($rules, [ |
| 392 | - [['acceptedOffer','billingAddress','broker','confirmationNumber','customer','discount','discountCode','discountCurrency','isGift','orderDate','orderDelivery','orderNumber','orderStatus','orderedItem','partOfInvoice','paymentDueDate','paymentMethod','paymentMethodId','paymentUrl','seller'], 'validateJsonSchema'], |
|
| 392 | + [['acceptedOffer', 'billingAddress', 'broker', 'confirmationNumber', 'customer', 'discount', 'discountCode', 'discountCurrency', 'isGift', 'orderDate', 'orderDelivery', 'orderNumber', 'orderStatus', 'orderedItem', 'partOfInvoice', 'paymentDueDate', 'paymentMethod', 'paymentMethodId', 'paymentUrl', 'seller'], 'validateJsonSchema'], |
|
| 393 | 393 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 394 | 394 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 395 | 395 | ]); |
@@ -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(); |
@@ -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(); |
@@ -157,9 +157,9 @@ discard block |
||
| 157 | 157 | */ |
| 158 | 158 | static protected $_schemaPropertyExpectedTypes = [ |
| 159 | 159 | 'hostingOrganization' => ['Organization'], |
| 160 | - 'member' => ['Organization','Person'], |
|
| 160 | + 'member' => ['Organization', 'Person'], |
|
| 161 | 161 | 'membershipNumber' => ['Text'], |
| 162 | - 'membershipPointsEarned' => ['Number','QuantitativeValue'], |
|
| 162 | + 'membershipPointsEarned' => ['Number', 'QuantitativeValue'], |
|
| 163 | 163 | 'programName' => ['Text'] |
| 164 | 164 | ]; |
| 165 | 165 | |
@@ -234,7 +234,7 @@ discard block |
||
| 234 | 234 | { |
| 235 | 235 | $rules = parent::rules(); |
| 236 | 236 | $rules = array_merge($rules, [ |
| 237 | - [['hostingOrganization','member','membershipNumber','membershipPointsEarned','programName'], 'validateJsonSchema'], |
|
| 237 | + [['hostingOrganization', 'member', 'membershipNumber', 'membershipPointsEarned', 'programName'], 'validateJsonSchema'], |
|
| 238 | 238 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 239 | 239 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 240 | 240 | ]); |