@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | 'lesser' => ['QualitativeValue'], |
194 | 194 | 'lesserOrEqual' => ['QualitativeValue'], |
195 | 195 | 'nonEqual' => ['QualitativeValue'], |
196 | - 'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue'] |
|
196 | + 'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue'] |
|
197 | 197 | ]; |
198 | 198 | |
199 | 199 | /** |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | { |
271 | 271 | $rules = parent::rules(); |
272 | 272 | $rules = array_merge($rules, [ |
273 | - [['additionalProperty','equal','greater','greaterOrEqual','lesser','lesserOrEqual','nonEqual','valueReference'], 'validateJsonSchema'], |
|
273 | + [['additionalProperty', 'equal', 'greater', 'greaterOrEqual', 'lesser', 'lesserOrEqual', 'nonEqual', 'valueReference'], 'validateJsonSchema'], |
|
274 | 274 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
275 | 275 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
276 | 276 | ]); |
@@ -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(); |
@@ -221,7 +221,7 @@ |
||
221 | 221 | { |
222 | 222 | $rules = parent::rules(); |
223 | 223 | $rules = array_merge($rules, [ |
224 | - [['itemReviewed','reviewAspect','reviewBody','reviewRating'], 'validateJsonSchema'], |
|
224 | + [['itemReviewed', 'reviewAspect', 'reviewBody', 'reviewRating'], 'validateJsonSchema'], |
|
225 | 225 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
226 | 226 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
227 | 227 | ]); |
@@ -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(); |
@@ -142,8 +142,8 @@ discard block |
||
142 | 142 | * @var array |
143 | 143 | */ |
144 | 144 | static protected $_schemaPropertyExpectedTypes = [ |
145 | - 'caption' => ['MediaObject','Text'], |
|
146 | - 'exifData' => ['PropertyValue','Text'], |
|
145 | + 'caption' => ['MediaObject', 'Text'], |
|
146 | + 'exifData' => ['PropertyValue', 'Text'], |
|
147 | 147 | 'representativeOfPage' => ['Boolean'], |
148 | 148 | 'thumbnail' => ['ImageObject'] |
149 | 149 | ]; |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | { |
219 | 219 | $rules = parent::rules(); |
220 | 220 | $rules = array_merge($rules, [ |
221 | - [['caption','exifData','representativeOfPage','thumbnail'], 'validateJsonSchema'], |
|
221 | + [['caption', 'exifData', 'representativeOfPage', 'thumbnail'], 'validateJsonSchema'], |
|
222 | 222 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
223 | 223 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
224 | 224 | ]); |