@@ -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(); |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | 'issuedThrough' => ['Service'], |
170 | 170 | 'permitAudience' => ['Audience'], |
171 | 171 | 'validFor' => ['Duration'], |
172 | - 'validFrom' => ['Date','DateTime'], |
|
172 | + 'validFrom' => ['Date', 'DateTime'], |
|
173 | 173 | 'validIn' => ['AdministrativeArea'], |
174 | 174 | 'validUntil' => ['Date'] |
175 | 175 | ]; |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | { |
248 | 248 | $rules = parent::rules(); |
249 | 249 | $rules = array_merge($rules, [ |
250 | - [['issuedBy','issuedThrough','permitAudience','validFor','validFrom','validIn','validUntil'], 'validateJsonSchema'], |
|
250 | + [['issuedBy', 'issuedThrough', 'permitAudience', 'validFor', 'validFrom', 'validIn', 'validUntil'], 'validateJsonSchema'], |
|
251 | 251 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
252 | 252 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
253 | 253 | ]); |
@@ -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(); |
@@ -139,8 +139,8 @@ discard block |
||
139 | 139 | */ |
140 | 140 | static protected $_schemaPropertyExpectedTypes = [ |
141 | 141 | 'about' => ['Thing'], |
142 | - 'inLanguage' => ['Language','Text'], |
|
143 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'] |
|
142 | + 'inLanguage' => ['Language', 'Text'], |
|
143 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
144 | 144 | ]; |
145 | 145 | |
146 | 146 | /** |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | { |
213 | 213 | $rules = parent::rules(); |
214 | 214 | $rules = array_merge($rules, [ |
215 | - [['about','inLanguage','recipient'], 'validateJsonSchema'], |
|
215 | + [['about', 'inLanguage', 'recipient'], 'validateJsonSchema'], |
|
216 | 216 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
217 | 217 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
218 | 218 | ]); |
@@ -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(); |
@@ -175,9 +175,9 @@ discard block |
||
175 | 175 | 'currency' => ['Text'], |
176 | 176 | 'maxValue' => ['Number'], |
177 | 177 | 'minValue' => ['Number'], |
178 | - 'validFrom' => ['Date','DateTime'], |
|
179 | - 'validThrough' => ['Date','DateTime'], |
|
180 | - 'value' => ['Boolean','Number','StructuredValue','Text'] |
|
178 | + 'validFrom' => ['Date', 'DateTime'], |
|
179 | + 'validThrough' => ['Date', 'DateTime'], |
|
180 | + 'value' => ['Boolean', 'Number', 'StructuredValue', 'Text'] |
|
181 | 181 | ]; |
182 | 182 | |
183 | 183 | /** |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | { |
253 | 253 | $rules = parent::rules(); |
254 | 254 | $rules = array_merge($rules, [ |
255 | - [['currency','maxValue','minValue','validFrom','validThrough','value'], 'validateJsonSchema'], |
|
255 | + [['currency', 'maxValue', 'minValue', 'validFrom', 'validThrough', 'value'], 'validateJsonSchema'], |
|
256 | 256 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
257 | 257 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
258 | 258 | ]); |
@@ -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(); |
@@ -207,13 +207,13 @@ discard block |
||
207 | 207 | */ |
208 | 208 | static protected $_schemaPropertyExpectedTypes = [ |
209 | 209 | 'maxValue' => ['Number'], |
210 | - 'measurementTechnique' => ['Text','URL'], |
|
210 | + 'measurementTechnique' => ['Text', 'URL'], |
|
211 | 211 | 'minValue' => ['Number'], |
212 | - 'propertyID' => ['Text','URL'], |
|
213 | - 'unitCode' => ['Text','URL'], |
|
212 | + 'propertyID' => ['Text', 'URL'], |
|
213 | + 'unitCode' => ['Text', 'URL'], |
|
214 | 214 | 'unitText' => ['Text'], |
215 | - 'value' => ['Boolean','Number','StructuredValue','Text'], |
|
216 | - 'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue'] |
|
215 | + 'value' => ['Boolean', 'Number', 'StructuredValue', 'Text'], |
|
216 | + 'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue'] |
|
217 | 217 | ]; |
218 | 218 | |
219 | 219 | /** |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | { |
291 | 291 | $rules = parent::rules(); |
292 | 292 | $rules = array_merge($rules, [ |
293 | - [['maxValue','measurementTechnique','minValue','propertyID','unitCode','unitText','value','valueReference'], 'validateJsonSchema'], |
|
293 | + [['maxValue', 'measurementTechnique', 'minValue', 'propertyID', 'unitCode', 'unitText', 'value', 'valueReference'], 'validateJsonSchema'], |
|
294 | 294 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
295 | 295 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
296 | 296 | ]); |
@@ -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,9 +164,9 @@ discard block |
||
164 | 164 | */ |
165 | 165 | static protected $_schemaPropertyExpectedTypes = [ |
166 | 166 | 'broadcastChannelId' => ['Text'], |
167 | - 'broadcastFrequency' => ['BroadcastFrequencySpecification','Text'], |
|
167 | + 'broadcastFrequency' => ['BroadcastFrequencySpecification', 'Text'], |
|
168 | 168 | 'broadcastServiceTier' => ['Text'], |
169 | - 'genre' => ['Text','URL'], |
|
169 | + 'genre' => ['Text', 'URL'], |
|
170 | 170 | 'inBroadcastLineup' => ['CableOrSatelliteService'], |
171 | 171 | 'providesBroadcastService' => ['BroadcastService'] |
172 | 172 | ]; |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | { |
244 | 244 | $rules = parent::rules(); |
245 | 245 | $rules = array_merge($rules, [ |
246 | - [['broadcastChannelId','broadcastFrequency','broadcastServiceTier','genre','inBroadcastLineup','providesBroadcastService'], 'validateJsonSchema'], |
|
246 | + [['broadcastChannelId', 'broadcastFrequency', 'broadcastServiceTier', 'genre', 'inBroadcastLineup', 'providesBroadcastService'], 'validateJsonSchema'], |
|
247 | 247 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
248 | 248 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
249 | 249 | ]); |
@@ -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(); |
@@ -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 | /** |