@@ -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 | /** |
@@ -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(); |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | static protected $_schemaPropertyExpectedTypes = [ |
139 | 139 | 'accountMinimumInflow' => ['MonetaryAmount'], |
140 | 140 | 'accountOverdraftLimit' => ['MonetaryAmount'], |
141 | - 'bankAccountType' => ['Text','URL'] |
|
141 | + 'bankAccountType' => ['Text', 'URL'] |
|
142 | 142 | ]; |
143 | 143 | |
144 | 144 | /** |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | { |
211 | 211 | $rules = parent::rules(); |
212 | 212 | $rules = array_merge($rules, [ |
213 | - [['accountMinimumInflow','accountOverdraftLimit','bankAccountType'], 'validateJsonSchema'], |
|
213 | + [['accountMinimumInflow', 'accountOverdraftLimit', 'bankAccountType'], 'validateJsonSchema'], |
|
214 | 214 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
215 | 215 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
216 | 216 | ]); |
@@ -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(); |
@@ -241,19 +241,19 @@ discard block |
||
241 | 241 | static protected $_schemaPropertyExpectedTypes = [ |
242 | 242 | 'accountId' => ['Text'], |
243 | 243 | 'billingPeriod' => ['Duration'], |
244 | - 'broker' => ['Organization','Person'], |
|
245 | - 'category' => ['PhysicalActivityCategory','Text','Thing'], |
|
244 | + 'broker' => ['Organization', 'Person'], |
|
245 | + 'category' => ['PhysicalActivityCategory', 'Text', 'Thing'], |
|
246 | 246 | 'confirmationNumber' => ['Text'], |
247 | - 'customer' => ['Organization','Person'], |
|
248 | - 'minimumPaymentDue' => ['MonetaryAmount','PriceSpecification'], |
|
249 | - 'paymentDueDate' => ['Date','DateTime'], |
|
247 | + 'customer' => ['Organization', 'Person'], |
|
248 | + 'minimumPaymentDue' => ['MonetaryAmount', 'PriceSpecification'], |
|
249 | + 'paymentDueDate' => ['Date', 'DateTime'], |
|
250 | 250 | 'paymentMethod' => ['PaymentMethod'], |
251 | 251 | 'paymentMethodId' => ['Text'], |
252 | - 'paymentStatus' => ['PaymentStatusType','Text'], |
|
253 | - 'provider' => ['Organization','Person'], |
|
252 | + 'paymentStatus' => ['PaymentStatusType', 'Text'], |
|
253 | + 'provider' => ['Organization', 'Person'], |
|
254 | 254 | 'referencesOrder' => ['Order'], |
255 | 255 | 'scheduledPaymentDate' => ['Date'], |
256 | - 'totalPaymentDue' => ['MonetaryAmount','PriceSpecification'] |
|
256 | + 'totalPaymentDue' => ['MonetaryAmount', 'PriceSpecification'] |
|
257 | 257 | ]; |
258 | 258 | |
259 | 259 | /** |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | { |
338 | 338 | $rules = parent::rules(); |
339 | 339 | $rules = array_merge($rules, [ |
340 | - [['accountId','billingPeriod','broker','category','confirmationNumber','customer','minimumPaymentDue','paymentDueDate','paymentMethod','paymentMethodId','paymentStatus','provider','referencesOrder','scheduledPaymentDate','totalPaymentDue'], 'validateJsonSchema'], |
|
340 | + [['accountId', 'billingPeriod', 'broker', 'category', 'confirmationNumber', 'customer', 'minimumPaymentDue', 'paymentDueDate', 'paymentMethod', 'paymentMethodId', 'paymentStatus', 'provider', 'referencesOrder', 'scheduledPaymentDate', 'totalPaymentDue'], 'validateJsonSchema'], |
|
341 | 341 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
342 | 342 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
343 | 343 | ]); |
@@ -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(); |
@@ -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(); |
@@ -118,7 +118,7 @@ |
||
118 | 118 | * @var array |
119 | 119 | */ |
120 | 120 | static protected $_schemaPropertyExpectedTypes = [ |
121 | - 'requiredQuantity' => ['Number','QuantitativeValue','Text'] |
|
121 | + 'requiredQuantity' => ['Number', 'QuantitativeValue', 'Text'] |
|
122 | 122 | ]; |
123 | 123 | |
124 | 124 | /** |