@@ -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(); |
@@ -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(); |
@@ -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(); |
@@ -172,11 +172,11 @@ discard block |
||
| 172 | 172 | */ |
| 173 | 173 | static protected $_schemaPropertyExpectedTypes = [ |
| 174 | 174 | 'courseCode' => ['Text'], |
| 175 | - 'coursePrerequisites' => ['AlignmentObject','Course','Text'], |
|
| 176 | - 'educationalCredentialAwarded' => ['EducationalOccupationalCredential','Text','URL'], |
|
| 175 | + 'coursePrerequisites' => ['AlignmentObject', 'Course', 'Text'], |
|
| 176 | + 'educationalCredentialAwarded' => ['EducationalOccupationalCredential', 'Text', 'URL'], |
|
| 177 | 177 | 'hasCourseInstance' => ['CourseInstance'], |
| 178 | - 'numberOfCredits' => ['Integer','StructuredValue'], |
|
| 179 | - 'occupationalCredentialAwarded' => ['EducationalOccupationalCredential','Text','URL'] |
|
| 178 | + 'numberOfCredits' => ['Integer', 'StructuredValue'], |
|
| 179 | + 'occupationalCredentialAwarded' => ['EducationalOccupationalCredential', 'Text', 'URL'] |
|
| 180 | 180 | ]; |
| 181 | 181 | |
| 182 | 182 | /** |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | { |
| 252 | 252 | $rules = parent::rules(); |
| 253 | 253 | $rules = array_merge($rules, [ |
| 254 | - [['courseCode','coursePrerequisites','educationalCredentialAwarded','hasCourseInstance','numberOfCredits','occupationalCredentialAwarded'], 'validateJsonSchema'], |
|
| 254 | + [['courseCode', 'coursePrerequisites', 'educationalCredentialAwarded', 'hasCourseInstance', 'numberOfCredits', 'occupationalCredentialAwarded'], 'validateJsonSchema'], |
|
| 255 | 255 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 256 | 256 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 257 | 257 | ]); |
@@ -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 | - 'actionOption' => ['Text','Thing'] |
|
| 122 | + 'actionOption' => ['Text', 'Thing'] |
|
| 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(); |
@@ -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(); |
@@ -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(); |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | * @var array |
| 178 | 178 | */ |
| 179 | 179 | static protected $_schemaPropertyExpectedTypes = [ |
| 180 | - 'availableLanguage' => ['Language','Text'], |
|
| 180 | + 'availableLanguage' => ['Language', 'Text'], |
|
| 181 | 181 | 'processingTime' => ['Duration'], |
| 182 | 182 | 'providesService' => ['Service'], |
| 183 | 183 | 'serviceLocation' => ['Place'], |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | { |
| 262 | 262 | $rules = parent::rules(); |
| 263 | 263 | $rules = array_merge($rules, [ |
| 264 | - [['availableLanguage','processingTime','providesService','serviceLocation','servicePhone','servicePostalAddress','serviceSmsNumber','serviceUrl'], 'validateJsonSchema'], |
|
| 264 | + [['availableLanguage', 'processingTime', 'providesService', 'serviceLocation', 'servicePhone', 'servicePostalAddress', 'serviceSmsNumber', 'serviceUrl'], 'validateJsonSchema'], |
|
| 265 | 265 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 266 | 266 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 267 | 267 | ]); |