@@ -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(); |
@@ -199,7 +199,7 @@ |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['blogPost','issn'], 'validateJsonSchema'], |
|
202 | + [['blogPost', 'issn'], 'validateJsonSchema'], |
|
203 | 203 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
204 | 204 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
205 | 205 | ]); |
@@ -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(); |
@@ -119,7 +119,7 @@ |
||
119 | 119 | * @var array |
120 | 120 | */ |
121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
122 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'] |
|
122 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
123 | 123 | ]; |
124 | 124 | |
125 | 125 | /** |
@@ -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(); |
@@ -189,10 +189,10 @@ discard block |
||
189 | 189 | */ |
190 | 190 | static protected $_schemaPropertyExpectedTypes = [ |
191 | 191 | 'actor' => ['Person'], |
192 | - 'clipNumber' => ['Integer','Text'], |
|
192 | + 'clipNumber' => ['Integer', 'Text'], |
|
193 | 193 | 'director' => ['Person'], |
194 | 194 | 'endOffset' => ['Number'], |
195 | - 'musicBy' => ['MusicGroup','Person'], |
|
195 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
196 | 196 | 'partOfEpisode' => ['Episode'], |
197 | 197 | 'partOfSeason' => ['CreativeWorkSeason'], |
198 | 198 | 'partOfSeries' => ['CreativeWorkSeries'], |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | { |
275 | 275 | $rules = parent::rules(); |
276 | 276 | $rules = array_merge($rules, [ |
277 | - [['actor','clipNumber','director','endOffset','musicBy','partOfEpisode','partOfSeason','partOfSeries','startOffset'], 'validateJsonSchema'], |
|
277 | + [['actor', 'clipNumber', 'director', 'endOffset', 'musicBy', 'partOfEpisode', 'partOfSeason', 'partOfSeries', 'startOffset'], 'validateJsonSchema'], |
|
278 | 278 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
279 | 279 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
280 | 280 | ]); |
@@ -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(); |
@@ -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(); |
@@ -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 | /** |