@@ -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(); |
@@ -1038,89 +1038,89 @@ discard block |
||
1038 | 1038 | 'accessibilityHazard' => ['Text'], |
1039 | 1039 | 'accessibilitySummary' => ['Text'], |
1040 | 1040 | 'accountablePerson' => ['Person'], |
1041 | - 'acquireLicensePage' => ['CreativeWork','URL'], |
|
1041 | + 'acquireLicensePage' => ['CreativeWork', 'URL'], |
|
1042 | 1042 | 'aggregateRating' => ['AggregateRating'], |
1043 | 1043 | 'alternativeHeadline' => ['Text'], |
1044 | 1044 | 'associatedMedia' => ['MediaObject'], |
1045 | 1045 | 'audience' => ['Audience'], |
1046 | - 'audio' => ['AudioObject','Clip','MusicRecording'], |
|
1047 | - 'author' => ['Organization','Person'], |
|
1046 | + 'audio' => ['AudioObject', 'Clip', 'MusicRecording'], |
|
1047 | + 'author' => ['Organization', 'Person'], |
|
1048 | 1048 | 'award' => ['Text'], |
1049 | 1049 | 'character' => ['Person'], |
1050 | - 'citation' => ['CreativeWork','Text'], |
|
1050 | + 'citation' => ['CreativeWork', 'Text'], |
|
1051 | 1051 | 'comment' => ['Comment'], |
1052 | 1052 | 'commentCount' => ['Integer'], |
1053 | 1053 | 'conditionsOfAccess' => ['Text'], |
1054 | 1054 | 'contentLocation' => ['Place'], |
1055 | - 'contentRating' => ['Rating','Text'], |
|
1055 | + 'contentRating' => ['Rating', 'Text'], |
|
1056 | 1056 | 'contentReferenceTime' => ['DateTime'], |
1057 | - 'contributor' => ['Organization','Person'], |
|
1058 | - 'copyrightHolder' => ['Organization','Person'], |
|
1057 | + 'contributor' => ['Organization', 'Person'], |
|
1058 | + 'copyrightHolder' => ['Organization', 'Person'], |
|
1059 | 1059 | 'copyrightYear' => ['Number'], |
1060 | - 'correction' => ['CorrectionComment','Text','URL'], |
|
1061 | - 'creativeWorkStatus' => ['DefinedTerm','Text'], |
|
1062 | - 'creator' => ['Organization','Person'], |
|
1063 | - 'dateCreated' => ['Date','DateTime'], |
|
1064 | - 'dateModified' => ['Date','DateTime'], |
|
1065 | - 'datePublished' => ['Date','DateTime'], |
|
1060 | + 'correction' => ['CorrectionComment', 'Text', 'URL'], |
|
1061 | + 'creativeWorkStatus' => ['DefinedTerm', 'Text'], |
|
1062 | + 'creator' => ['Organization', 'Person'], |
|
1063 | + 'dateCreated' => ['Date', 'DateTime'], |
|
1064 | + 'dateModified' => ['Date', 'DateTime'], |
|
1065 | + 'datePublished' => ['Date', 'DateTime'], |
|
1066 | 1066 | 'discussionUrl' => ['URL'], |
1067 | 1067 | 'editor' => ['Person'], |
1068 | 1068 | 'educationalAlignment' => ['AlignmentObject'], |
1069 | 1069 | 'educationalUse' => ['Text'], |
1070 | 1070 | 'encoding' => ['MediaObject'], |
1071 | - 'encodingFormat' => ['Text','URL'], |
|
1071 | + 'encodingFormat' => ['Text', 'URL'], |
|
1072 | 1072 | 'exampleOfWork' => ['CreativeWork'], |
1073 | 1073 | 'expires' => ['Date'], |
1074 | - 'funder' => ['Organization','Person'], |
|
1075 | - 'genre' => ['Text','URL'], |
|
1074 | + 'funder' => ['Organization', 'Person'], |
|
1075 | + 'genre' => ['Text', 'URL'], |
|
1076 | 1076 | 'hasPart' => ['CreativeWork'], |
1077 | 1077 | 'headline' => ['Text'], |
1078 | - 'inLanguage' => ['Language','Text'], |
|
1078 | + 'inLanguage' => ['Language', 'Text'], |
|
1079 | 1079 | 'interactionStatistic' => ['InteractionCounter'], |
1080 | 1080 | 'interactivityType' => ['Text'], |
1081 | 1081 | 'isAccessibleForFree' => ['Boolean'], |
1082 | - 'isBasedOn' => ['CreativeWork','Product','URL'], |
|
1082 | + 'isBasedOn' => ['CreativeWork', 'Product', 'URL'], |
|
1083 | 1083 | 'isFamilyFriendly' => ['Boolean'], |
1084 | - 'isPartOf' => ['CreativeWork','URL'], |
|
1084 | + 'isPartOf' => ['CreativeWork', 'URL'], |
|
1085 | 1085 | 'keywords' => ['Text'], |
1086 | 1086 | 'learningResourceType' => ['Text'], |
1087 | - 'license' => ['CreativeWork','URL'], |
|
1087 | + 'license' => ['CreativeWork', 'URL'], |
|
1088 | 1088 | 'locationCreated' => ['Place'], |
1089 | 1089 | 'mainEntity' => ['Thing'], |
1090 | - 'maintainer' => ['Organization','Person'], |
|
1091 | - 'material' => ['Product','Text','URL'], |
|
1092 | - 'materialExtent' => ['QuantitativeValue','Text'], |
|
1090 | + 'maintainer' => ['Organization', 'Person'], |
|
1091 | + 'material' => ['Product', 'Text', 'URL'], |
|
1092 | + 'materialExtent' => ['QuantitativeValue', 'Text'], |
|
1093 | 1093 | 'mentions' => ['Thing'], |
1094 | - 'offers' => ['Demand','Offer'], |
|
1095 | - 'position' => ['Integer','Text'], |
|
1096 | - 'producer' => ['Organization','Person'], |
|
1097 | - 'provider' => ['Organization','Person'], |
|
1094 | + 'offers' => ['Demand', 'Offer'], |
|
1095 | + 'position' => ['Integer', 'Text'], |
|
1096 | + 'producer' => ['Organization', 'Person'], |
|
1097 | + 'provider' => ['Organization', 'Person'], |
|
1098 | 1098 | 'publication' => ['PublicationEvent'], |
1099 | - 'publisher' => ['Organization','Person'], |
|
1099 | + 'publisher' => ['Organization', 'Person'], |
|
1100 | 1100 | 'publisherImprint' => ['Organization'], |
1101 | - 'publishingPrinciples' => ['CreativeWork','URL'], |
|
1101 | + 'publishingPrinciples' => ['CreativeWork', 'URL'], |
|
1102 | 1102 | 'recordedAt' => ['Event'], |
1103 | 1103 | 'releasedEvent' => ['PublicationEvent'], |
1104 | 1104 | 'review' => ['Review'], |
1105 | - 'schemaVersion' => ['Text','URL'], |
|
1105 | + 'schemaVersion' => ['Text', 'URL'], |
|
1106 | 1106 | 'sdDatePublished' => ['Date'], |
1107 | - 'sdLicense' => ['CreativeWork','URL'], |
|
1108 | - 'sdPublisher' => ['Organization','Person'], |
|
1107 | + 'sdLicense' => ['CreativeWork', 'URL'], |
|
1108 | + 'sdPublisher' => ['Organization', 'Person'], |
|
1109 | 1109 | 'sourceOrganization' => ['Organization'], |
1110 | 1110 | 'spatial' => ['Place'], |
1111 | 1111 | 'spatialCoverage' => ['Place'], |
1112 | - 'sponsor' => ['Organization','Person'], |
|
1113 | - 'temporal' => ['DateTime','Text'], |
|
1114 | - 'temporalCoverage' => ['DateTime','Text','URL'], |
|
1112 | + 'sponsor' => ['Organization', 'Person'], |
|
1113 | + 'temporal' => ['DateTime', 'Text'], |
|
1114 | + 'temporalCoverage' => ['DateTime', 'Text', 'URL'], |
|
1115 | 1115 | 'text' => ['Text'], |
1116 | 1116 | 'thumbnailUrl' => ['URL'], |
1117 | 1117 | 'timeRequired' => ['Duration'], |
1118 | 1118 | 'translationOfWork' => ['CreativeWork'], |
1119 | - 'translator' => ['Organization','Person'], |
|
1119 | + 'translator' => ['Organization', 'Person'], |
|
1120 | 1120 | 'typicalAgeRange' => ['Text'], |
1121 | - 'usageInfo' => ['CreativeWork','URL'], |
|
1122 | - 'version' => ['Number','Text'], |
|
1123 | - 'video' => ['Clip','VideoObject'], |
|
1121 | + 'usageInfo' => ['CreativeWork', 'URL'], |
|
1122 | + 'version' => ['Number', 'Text'], |
|
1123 | + 'video' => ['Clip', 'VideoObject'], |
|
1124 | 1124 | 'workExample' => ['CreativeWork'], |
1125 | 1125 | 'workTranslation' => ['CreativeWork'] |
1126 | 1126 | ]; |
@@ -1286,7 +1286,7 @@ discard block |
||
1286 | 1286 | { |
1287 | 1287 | $rules = parent::rules(); |
1288 | 1288 | $rules = array_merge($rules, [ |
1289 | - [['about','abstract','accessMode','accessModeSufficient','accessibilityAPI','accessibilityControl','accessibilityFeature','accessibilityHazard','accessibilitySummary','accountablePerson','acquireLicensePage','aggregateRating','alternativeHeadline','associatedMedia','audience','audio','author','award','character','citation','comment','commentCount','conditionsOfAccess','contentLocation','contentRating','contentReferenceTime','contributor','copyrightHolder','copyrightYear','correction','creativeWorkStatus','creator','dateCreated','dateModified','datePublished','discussionUrl','editor','educationalAlignment','educationalUse','encoding','encodingFormat','exampleOfWork','expires','funder','genre','hasPart','headline','inLanguage','interactionStatistic','interactivityType','isAccessibleForFree','isBasedOn','isFamilyFriendly','isPartOf','keywords','learningResourceType','license','locationCreated','mainEntity','maintainer','material','materialExtent','mentions','offers','position','producer','provider','publication','publisher','publisherImprint','publishingPrinciples','recordedAt','releasedEvent','review','schemaVersion','sdDatePublished','sdLicense','sdPublisher','sourceOrganization','spatial','spatialCoverage','sponsor','temporal','temporalCoverage','text','thumbnailUrl','timeRequired','translationOfWork','translator','typicalAgeRange','usageInfo','version','video','workExample','workTranslation'], 'validateJsonSchema'], |
|
1289 | + [['about', 'abstract', 'accessMode', 'accessModeSufficient', 'accessibilityAPI', 'accessibilityControl', 'accessibilityFeature', 'accessibilityHazard', 'accessibilitySummary', 'accountablePerson', 'acquireLicensePage', 'aggregateRating', 'alternativeHeadline', 'associatedMedia', 'audience', 'audio', 'author', 'award', 'character', 'citation', 'comment', 'commentCount', 'conditionsOfAccess', 'contentLocation', 'contentRating', 'contentReferenceTime', 'contributor', 'copyrightHolder', 'copyrightYear', 'correction', 'creativeWorkStatus', 'creator', 'dateCreated', 'dateModified', 'datePublished', 'discussionUrl', 'editor', 'educationalAlignment', 'educationalUse', 'encoding', 'encodingFormat', 'exampleOfWork', 'expires', 'funder', 'genre', 'hasPart', 'headline', 'inLanguage', 'interactionStatistic', 'interactivityType', 'isAccessibleForFree', 'isBasedOn', 'isFamilyFriendly', 'isPartOf', 'keywords', 'learningResourceType', 'license', 'locationCreated', 'mainEntity', 'maintainer', 'material', 'materialExtent', 'mentions', 'offers', 'position', 'producer', 'provider', 'publication', 'publisher', 'publisherImprint', 'publishingPrinciples', 'recordedAt', 'releasedEvent', 'review', 'schemaVersion', 'sdDatePublished', 'sdLicense', 'sdPublisher', 'sourceOrganization', 'spatial', 'spatialCoverage', 'sponsor', 'temporal', 'temporalCoverage', 'text', 'thumbnailUrl', 'timeRequired', 'translationOfWork', 'translator', 'typicalAgeRange', 'usageInfo', 'version', 'video', 'workExample', 'workTranslation'], 'validateJsonSchema'], |
|
1290 | 1290 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
1291 | 1291 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
1292 | 1292 | ]); |
@@ -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(); |
@@ -158,11 +158,11 @@ discard block |
||
158 | 158 | * @var array |
159 | 159 | */ |
160 | 160 | static protected $_schemaPropertyExpectedTypes = [ |
161 | - 'address' => ['PostalAddress','Text'], |
|
162 | - 'addressCountry' => ['Country','Text'], |
|
163 | - 'elevation' => ['Number','Text'], |
|
164 | - 'latitude' => ['Number','Text'], |
|
165 | - 'longitude' => ['Number','Text'], |
|
161 | + 'address' => ['PostalAddress', 'Text'], |
|
162 | + 'addressCountry' => ['Country', 'Text'], |
|
163 | + 'elevation' => ['Number', 'Text'], |
|
164 | + 'latitude' => ['Number', 'Text'], |
|
165 | + 'longitude' => ['Number', 'Text'], |
|
166 | 166 | 'postalCode' => ['Text'] |
167 | 167 | ]; |
168 | 168 | |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | { |
239 | 239 | $rules = parent::rules(); |
240 | 240 | $rules = array_merge($rules, [ |
241 | - [['address','addressCountry','elevation','latitude','longitude','postalCode'], 'validateJsonSchema'], |
|
241 | + [['address', 'addressCountry', 'elevation', 'latitude', 'longitude', 'postalCode'], 'validateJsonSchema'], |
|
242 | 242 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
243 | 243 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
244 | 244 | ]); |
@@ -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(); |
@@ -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(); |
@@ -200,7 +200,7 @@ |
||
200 | 200 | { |
201 | 201 | $rules = parent::rules(); |
202 | 202 | $rules = array_merge($rules, [ |
203 | - [['actionAccessibilityRequirement','expectsAcceptanceOf'], 'validateJsonSchema'], |
|
203 | + [['actionAccessibilityRequirement', 'expectsAcceptanceOf'], 'validateJsonSchema'], |
|
204 | 204 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
205 | 205 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
206 | 206 | ]); |
@@ -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(); |
@@ -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 | ]); |