@@ -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(); |
@@ -199,13 +199,13 @@ discard block |
||
199 | 199 | static protected $_schemaPropertyExpectedTypes = [ |
200 | 200 | 'actor' => ['Person'], |
201 | 201 | 'director' => ['Person'], |
202 | - 'endDate' => ['Date','DateTime'], |
|
202 | + 'endDate' => ['Date', 'DateTime'], |
|
203 | 203 | 'episode' => ['Episode'], |
204 | 204 | 'numberOfEpisodes' => ['Integer'], |
205 | 205 | 'partOfSeries' => ['CreativeWorkSeries'], |
206 | 206 | 'productionCompany' => ['Organization'], |
207 | - 'seasonNumber' => ['Integer','Text'], |
|
208 | - 'startDate' => ['Date','DateTime'], |
|
207 | + 'seasonNumber' => ['Integer', 'Text'], |
|
208 | + 'startDate' => ['Date', 'DateTime'], |
|
209 | 209 | 'trailer' => ['VideoObject'] |
210 | 210 | ]; |
211 | 211 | |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | { |
286 | 286 | $rules = parent::rules(); |
287 | 287 | $rules = array_merge($rules, [ |
288 | - [['actor','director','endDate','episode','numberOfEpisodes','partOfSeries','productionCompany','seasonNumber','startDate','trailer'], 'validateJsonSchema'], |
|
288 | + [['actor', 'director', 'endDate', 'episode', 'numberOfEpisodes', 'partOfSeries', 'productionCompany', 'seasonNumber', 'startDate', 'trailer'], 'validateJsonSchema'], |
|
289 | 289 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
290 | 290 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
291 | 291 | ]); |
@@ -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(); |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | static protected $_schemaPropertyExpectedTypes = [ |
144 | 144 | 'athlete' => ['Person'], |
145 | 145 | 'coach' => ['Person'], |
146 | - 'gender' => ['GenderType','Text'] |
|
146 | + 'gender' => ['GenderType', 'Text'] |
|
147 | 147 | ]; |
148 | 148 | |
149 | 149 | /** |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | { |
216 | 216 | $rules = parent::rules(); |
217 | 217 | $rules = array_merge($rules, [ |
218 | - [['athlete','coach','gender'], 'validateJsonSchema'], |
|
218 | + [['athlete', 'coach', 'gender'], 'validateJsonSchema'], |
|
219 | 219 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
220 | 220 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
221 | 221 | ]); |
@@ -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(); |
@@ -202,7 +202,7 @@ |
||
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
204 | 204 | $rules = array_merge($rules, [ |
205 | - [['fromLocation','toLocation'], 'validateJsonSchema'], |
|
205 | + [['fromLocation', 'toLocation'], '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(); |
@@ -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(); |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | 'countryOfOrigin' => ['Country'], |
203 | 203 | 'director' => ['Person'], |
204 | 204 | 'episode' => ['Episode'], |
205 | - 'musicBy' => ['MusicGroup','Person'], |
|
205 | + 'musicBy' => ['MusicGroup', 'Person'], |
|
206 | 206 | 'numberOfEpisodes' => ['Integer'], |
207 | 207 | 'numberOfSeasons' => ['Integer'], |
208 | 208 | 'productionCompany' => ['Organization'], |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | { |
286 | 286 | $rules = parent::rules(); |
287 | 287 | $rules = array_merge($rules, [ |
288 | - [['actor','containsSeason','countryOfOrigin','director','episode','musicBy','numberOfEpisodes','numberOfSeasons','productionCompany','trailer'], 'validateJsonSchema'], |
|
288 | + [['actor', 'containsSeason', 'countryOfOrigin', 'director', 'episode', 'musicBy', 'numberOfEpisodes', 'numberOfSeasons', 'productionCompany', 'trailer'], 'validateJsonSchema'], |
|
289 | 289 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
290 | 290 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
291 | 291 | ]); |
@@ -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 | ]); |