@@ -63,7 +63,7 @@ |
||
63 | 63 | 'nosnippet', |
64 | 64 | 'noimageindex', |
65 | 65 | 'nocache', |
66 | - ], 'on' => ['warning'], |
|
66 | + ], 'on' => [ 'warning' ], |
|
67 | 67 | ], |
68 | 68 | ]); |
69 | 69 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 'no-referrer-when-downgrade', |
58 | 58 | 'origin-when-crossorigin', |
59 | 59 | 'unsafe-URL', |
60 | - ], 'on' => ['warning'], |
|
60 | + ], 'on' => [ 'warning' ], |
|
61 | 61 | ], |
62 | 62 | ]); |
63 | 63 |
@@ -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(); |
@@ -63,35 +63,35 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @var array |
65 | 65 | */ |
66 | - static public $schemaPropertyNames = []; |
|
66 | + static public $schemaPropertyNames = [ ]; |
|
67 | 67 | |
68 | 68 | /** |
69 | 69 | * The Schema.org composed Property Expected Types |
70 | 70 | * |
71 | 71 | * @var array |
72 | 72 | */ |
73 | - static public $schemaPropertyExpectedTypes = []; |
|
73 | + static public $schemaPropertyExpectedTypes = [ ]; |
|
74 | 74 | |
75 | 75 | /** |
76 | 76 | * The Schema.org composed Property Descriptions |
77 | 77 | * |
78 | 78 | * @var array |
79 | 79 | */ |
80 | - static public $schemaPropertyDescriptions = []; |
|
80 | + static public $schemaPropertyDescriptions = [ ]; |
|
81 | 81 | |
82 | 82 | /** |
83 | 83 | * The Schema.org composed Google Required Schema for this type |
84 | 84 | * |
85 | 85 | * @var array |
86 | 86 | */ |
87 | - static public $googleRequiredSchema = []; |
|
87 | + static public $googleRequiredSchema = [ ]; |
|
88 | 88 | |
89 | 89 | /** |
90 | 90 | * The Schema.org composed Google Recommended Schema for this type |
91 | 91 | * |
92 | 92 | * @var array |
93 | 93 | */ |
94 | - static public $googleRecommendedSchema = []; |
|
94 | + static public $googleRecommendedSchema = [ ]; |
|
95 | 95 | |
96 | 96 | // Public Properties |
97 | 97 | // ========================================================================= |
@@ -130,8 +130,8 @@ discard block |
||
130 | 130 | * @var array |
131 | 131 | */ |
132 | 132 | static protected $_schemaPropertyExpectedTypes = [ |
133 | - 'geoMidpoint' => ['GeoCoordinates'], |
|
134 | - 'geoRadius' => ['Distance','Number','Text'] |
|
133 | + 'geoMidpoint' => [ 'GeoCoordinates' ], |
|
134 | + 'geoRadius' => [ 'Distance', 'Number', 'Text' ] |
|
135 | 135 | ]; |
136 | 136 | |
137 | 137 | /** |
@@ -202,9 +202,9 @@ discard block |
||
202 | 202 | { |
203 | 203 | $rules = parent::rules(); |
204 | 204 | $rules = array_merge($rules, [ |
205 | - [['geoMidpoint','geoRadius'], 'validateJsonSchema'], |
|
206 | - [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
|
207 | - [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
|
205 | + [ [ 'geoMidpoint', 'geoRadius' ], 'validateJsonSchema' ], |
|
206 | + [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ], |
|
207 | + [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ] |
|
208 | 208 | ]); |
209 | 209 | |
210 | 210 | return $rules; |
@@ -59,35 +59,35 @@ discard block |
||
59 | 59 | * |
60 | 60 | * @var array |
61 | 61 | */ |
62 | - static public $schemaPropertyNames = []; |
|
62 | + static public $schemaPropertyNames = [ ]; |
|
63 | 63 | |
64 | 64 | /** |
65 | 65 | * The Schema.org composed Property Expected Types |
66 | 66 | * |
67 | 67 | * @var array |
68 | 68 | */ |
69 | - static public $schemaPropertyExpectedTypes = []; |
|
69 | + static public $schemaPropertyExpectedTypes = [ ]; |
|
70 | 70 | |
71 | 71 | /** |
72 | 72 | * The Schema.org composed Property Descriptions |
73 | 73 | * |
74 | 74 | * @var array |
75 | 75 | */ |
76 | - static public $schemaPropertyDescriptions = []; |
|
76 | + static public $schemaPropertyDescriptions = [ ]; |
|
77 | 77 | |
78 | 78 | /** |
79 | 79 | * The Schema.org composed Google Required Schema for this type |
80 | 80 | * |
81 | 81 | * @var array |
82 | 82 | */ |
83 | - static public $googleRequiredSchema = []; |
|
83 | + static public $googleRequiredSchema = [ ]; |
|
84 | 84 | |
85 | 85 | /** |
86 | 86 | * The Schema.org composed Google Recommended Schema for this type |
87 | 87 | * |
88 | 88 | * @var array |
89 | 89 | */ |
90 | - static public $googleRecommendedSchema = []; |
|
90 | + static public $googleRecommendedSchema = [ ]; |
|
91 | 91 | |
92 | 92 | // Public Properties |
93 | 93 | // ========================================================================= |
@@ -150,10 +150,10 @@ discard block |
||
150 | 150 | * @var array |
151 | 151 | */ |
152 | 152 | static protected $_schemaPropertyExpectedTypes = [ |
153 | - 'currenciesAccepted' => ['Text'], |
|
154 | - 'openingHours' => ['Text'], |
|
155 | - 'paymentAccepted' => ['Text'], |
|
156 | - 'priceRange' => ['Text'] |
|
153 | + 'currenciesAccepted' => [ 'Text' ], |
|
154 | + 'openingHours' => [ 'Text' ], |
|
155 | + 'paymentAccepted' => [ 'Text' ], |
|
156 | + 'priceRange' => [ 'Text' ] |
|
157 | 157 | ]; |
158 | 158 | |
159 | 159 | /** |
@@ -226,9 +226,9 @@ discard block |
||
226 | 226 | { |
227 | 227 | $rules = parent::rules(); |
228 | 228 | $rules = array_merge($rules, [ |
229 | - [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
230 | - [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
|
231 | - [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
|
229 | + [ [ 'currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange' ], 'validateJsonSchema' ], |
|
230 | + [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ], |
|
231 | + [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ] |
|
232 | 232 | ]); |
233 | 233 | |
234 | 234 | return $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(); |
@@ -59,35 +59,35 @@ discard block |
||
59 | 59 | * |
60 | 60 | * @var array |
61 | 61 | */ |
62 | - static public $schemaPropertyNames = []; |
|
62 | + static public $schemaPropertyNames = [ ]; |
|
63 | 63 | |
64 | 64 | /** |
65 | 65 | * The Schema.org composed Property Expected Types |
66 | 66 | * |
67 | 67 | * @var array |
68 | 68 | */ |
69 | - static public $schemaPropertyExpectedTypes = []; |
|
69 | + static public $schemaPropertyExpectedTypes = [ ]; |
|
70 | 70 | |
71 | 71 | /** |
72 | 72 | * The Schema.org composed Property Descriptions |
73 | 73 | * |
74 | 74 | * @var array |
75 | 75 | */ |
76 | - static public $schemaPropertyDescriptions = []; |
|
76 | + static public $schemaPropertyDescriptions = [ ]; |
|
77 | 77 | |
78 | 78 | /** |
79 | 79 | * The Schema.org composed Google Required Schema for this type |
80 | 80 | * |
81 | 81 | * @var array |
82 | 82 | */ |
83 | - static public $googleRequiredSchema = []; |
|
83 | + static public $googleRequiredSchema = [ ]; |
|
84 | 84 | |
85 | 85 | /** |
86 | 86 | * The Schema.org composed Google Recommended Schema for this type |
87 | 87 | * |
88 | 88 | * @var array |
89 | 89 | */ |
90 | - static public $googleRecommendedSchema = []; |
|
90 | + static public $googleRecommendedSchema = [ ]; |
|
91 | 91 | |
92 | 92 | // Public Properties |
93 | 93 | // ========================================================================= |
@@ -427,39 +427,39 @@ discard block |
||
427 | 427 | * @var array |
428 | 428 | */ |
429 | 429 | static protected $_schemaPropertyExpectedTypes = [ |
430 | - 'additionalProperty' => ['PropertyValue'], |
|
431 | - 'address' => ['PostalAddress','Text'], |
|
432 | - 'aggregateRating' => ['AggregateRating'], |
|
433 | - 'amenityFeature' => ['LocationFeatureSpecification'], |
|
434 | - 'branchCode' => ['Text'], |
|
435 | - 'containedInPlace' => ['Place'], |
|
436 | - 'containsPlace' => ['Place'], |
|
437 | - 'event' => ['Event'], |
|
438 | - 'faxNumber' => ['Text'], |
|
439 | - 'geo' => ['GeoCoordinates','GeoShape'], |
|
440 | - 'geospatiallyContains' => ['GeospatialGeometry','Place'], |
|
441 | - 'geospatiallyCoveredBy' => ['GeospatialGeometry','Place'], |
|
442 | - 'geospatiallyCovers' => ['GeospatialGeometry','Place'], |
|
443 | - 'geospatiallyCrosses' => ['GeospatialGeometry','Place'], |
|
444 | - 'geospatiallyDisjoint' => ['GeospatialGeometry','Place'], |
|
445 | - 'geospatiallyEquals' => ['GeospatialGeometry','Place'], |
|
446 | - 'geospatiallyIntersects' => ['GeospatialGeometry','Place'], |
|
447 | - 'geospatiallyOverlaps' => ['GeospatialGeometry','Place'], |
|
448 | - 'geospatiallyTouches' => ['GeospatialGeometry','Place'], |
|
449 | - 'geospatiallyWithin' => ['GeospatialGeometry','Place'], |
|
450 | - 'globalLocationNumber' => ['Text'], |
|
451 | - 'hasMap' => ['Map','URL'], |
|
452 | - 'isAccessibleForFree' => ['Boolean'], |
|
453 | - 'isicV4' => ['Text'], |
|
454 | - 'logo' => ['ImageObject','URL'], |
|
455 | - 'maximumAttendeeCapacity' => ['Integer'], |
|
456 | - 'openingHoursSpecification' => ['OpeningHoursSpecification'], |
|
457 | - 'photo' => ['ImageObject','Photograph'], |
|
458 | - 'publicAccess' => ['Boolean'], |
|
459 | - 'review' => ['Review'], |
|
460 | - 'smokingAllowed' => ['Boolean'], |
|
461 | - 'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'], |
|
462 | - 'telephone' => ['Text'] |
|
430 | + 'additionalProperty' => [ 'PropertyValue' ], |
|
431 | + 'address' => [ 'PostalAddress', 'Text' ], |
|
432 | + 'aggregateRating' => [ 'AggregateRating' ], |
|
433 | + 'amenityFeature' => [ 'LocationFeatureSpecification' ], |
|
434 | + 'branchCode' => [ 'Text' ], |
|
435 | + 'containedInPlace' => [ 'Place' ], |
|
436 | + 'containsPlace' => [ 'Place' ], |
|
437 | + 'event' => [ 'Event' ], |
|
438 | + 'faxNumber' => [ 'Text' ], |
|
439 | + 'geo' => [ 'GeoCoordinates', 'GeoShape' ], |
|
440 | + 'geospatiallyContains' => [ 'GeospatialGeometry', 'Place' ], |
|
441 | + 'geospatiallyCoveredBy' => [ 'GeospatialGeometry', 'Place' ], |
|
442 | + 'geospatiallyCovers' => [ 'GeospatialGeometry', 'Place' ], |
|
443 | + 'geospatiallyCrosses' => [ 'GeospatialGeometry', 'Place' ], |
|
444 | + 'geospatiallyDisjoint' => [ 'GeospatialGeometry', 'Place' ], |
|
445 | + 'geospatiallyEquals' => [ 'GeospatialGeometry', 'Place' ], |
|
446 | + 'geospatiallyIntersects' => [ 'GeospatialGeometry', 'Place' ], |
|
447 | + 'geospatiallyOverlaps' => [ 'GeospatialGeometry', 'Place' ], |
|
448 | + 'geospatiallyTouches' => [ 'GeospatialGeometry', 'Place' ], |
|
449 | + 'geospatiallyWithin' => [ 'GeospatialGeometry', 'Place' ], |
|
450 | + 'globalLocationNumber' => [ 'Text' ], |
|
451 | + 'hasMap' => [ 'Map', 'URL' ], |
|
452 | + 'isAccessibleForFree' => [ 'Boolean' ], |
|
453 | + 'isicV4' => [ 'Text' ], |
|
454 | + 'logo' => [ 'ImageObject', 'URL' ], |
|
455 | + 'maximumAttendeeCapacity' => [ 'Integer' ], |
|
456 | + 'openingHoursSpecification' => [ 'OpeningHoursSpecification' ], |
|
457 | + 'photo' => [ 'ImageObject', 'Photograph' ], |
|
458 | + 'publicAccess' => [ 'Boolean' ], |
|
459 | + 'review' => [ 'Review' ], |
|
460 | + 'smokingAllowed' => [ 'Boolean' ], |
|
461 | + 'specialOpeningHoursSpecification' => [ 'OpeningHoursSpecification' ], |
|
462 | + 'telephone' => [ 'Text' ] |
|
463 | 463 | ]; |
464 | 464 | |
465 | 465 | /** |
@@ -561,9 +561,9 @@ discard block |
||
561 | 561 | { |
562 | 562 | $rules = parent::rules(); |
563 | 563 | $rules = array_merge($rules, [ |
564 | - [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geospatiallyContains','geospatiallyCoveredBy','geospatiallyCovers','geospatiallyCrosses','geospatiallyDisjoint','geospatiallyEquals','geospatiallyIntersects','geospatiallyOverlaps','geospatiallyTouches','geospatiallyWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'], |
|
565 | - [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
|
566 | - [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
|
564 | + [ [ 'additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geospatiallyContains', 'geospatiallyCoveredBy', 'geospatiallyCovers', 'geospatiallyCrosses', 'geospatiallyDisjoint', 'geospatiallyEquals', 'geospatiallyIntersects', 'geospatiallyOverlaps', 'geospatiallyTouches', 'geospatiallyWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone' ], 'validateJsonSchema' ], |
|
565 | + [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ], |
|
566 | + [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ] |
|
567 | 567 | ]); |
568 | 568 | |
569 | 569 | return $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(); |
@@ -60,35 +60,35 @@ discard block |
||
60 | 60 | * |
61 | 61 | * @var array |
62 | 62 | */ |
63 | - static public $schemaPropertyNames = []; |
|
63 | + static public $schemaPropertyNames = [ ]; |
|
64 | 64 | |
65 | 65 | /** |
66 | 66 | * The Schema.org composed Property Expected Types |
67 | 67 | * |
68 | 68 | * @var array |
69 | 69 | */ |
70 | - static public $schemaPropertyExpectedTypes = []; |
|
70 | + static public $schemaPropertyExpectedTypes = [ ]; |
|
71 | 71 | |
72 | 72 | /** |
73 | 73 | * The Schema.org composed Property Descriptions |
74 | 74 | * |
75 | 75 | * @var array |
76 | 76 | */ |
77 | - static public $schemaPropertyDescriptions = []; |
|
77 | + static public $schemaPropertyDescriptions = [ ]; |
|
78 | 78 | |
79 | 79 | /** |
80 | 80 | * The Schema.org composed Google Required Schema for this type |
81 | 81 | * |
82 | 82 | * @var array |
83 | 83 | */ |
84 | - static public $googleRequiredSchema = []; |
|
84 | + static public $googleRequiredSchema = [ ]; |
|
85 | 85 | |
86 | 86 | /** |
87 | 87 | * The Schema.org composed Google Recommended Schema for this type |
88 | 88 | * |
89 | 89 | * @var array |
90 | 90 | */ |
91 | - static public $googleRecommendedSchema = []; |
|
91 | + static public $googleRecommendedSchema = [ ]; |
|
92 | 92 | |
93 | 93 | // Public Properties |
94 | 94 | // ========================================================================= |
@@ -212,18 +212,18 @@ discard block |
||
212 | 212 | * @var array |
213 | 213 | */ |
214 | 214 | static protected $_schemaPropertyExpectedTypes = [ |
215 | - 'diet' => ['Diet'], |
|
216 | - 'distance' => ['Distance'], |
|
217 | - 'exerciseCourse' => ['Place'], |
|
218 | - 'exercisePlan' => ['ExercisePlan'], |
|
219 | - 'exerciseRelatedDiet' => ['Diet'], |
|
220 | - 'exerciseType' => ['Text'], |
|
221 | - 'fromLocation' => ['Place'], |
|
222 | - 'opponent' => ['Person'], |
|
223 | - 'sportsActivityLocation' => ['SportsActivityLocation'], |
|
224 | - 'sportsEvent' => ['SportsEvent'], |
|
225 | - 'sportsTeam' => ['SportsTeam'], |
|
226 | - 'toLocation' => ['Place'] |
|
215 | + 'diet' => [ 'Diet' ], |
|
216 | + 'distance' => [ 'Distance' ], |
|
217 | + 'exerciseCourse' => [ 'Place' ], |
|
218 | + 'exercisePlan' => [ 'ExercisePlan' ], |
|
219 | + 'exerciseRelatedDiet' => [ 'Diet' ], |
|
220 | + 'exerciseType' => [ 'Text' ], |
|
221 | + 'fromLocation' => [ 'Place' ], |
|
222 | + 'opponent' => [ 'Person' ], |
|
223 | + 'sportsActivityLocation' => [ 'SportsActivityLocation' ], |
|
224 | + 'sportsEvent' => [ 'SportsEvent' ], |
|
225 | + 'sportsTeam' => [ 'SportsTeam' ], |
|
226 | + 'toLocation' => [ 'Place' ] |
|
227 | 227 | ]; |
228 | 228 | |
229 | 229 | /** |
@@ -304,9 +304,9 @@ discard block |
||
304 | 304 | { |
305 | 305 | $rules = parent::rules(); |
306 | 306 | $rules = array_merge($rules, [ |
307 | - [['diet','distance','exerciseCourse','exercisePlan','exerciseRelatedDiet','exerciseType','fromLocation','opponent','sportsActivityLocation','sportsEvent','sportsTeam','toLocation'], 'validateJsonSchema'], |
|
308 | - [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
|
309 | - [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
|
307 | + [ [ 'diet', 'distance', 'exerciseCourse', 'exercisePlan', 'exerciseRelatedDiet', 'exerciseType', 'fromLocation', 'opponent', 'sportsActivityLocation', 'sportsEvent', 'sportsTeam', 'toLocation' ], 'validateJsonSchema' ], |
|
308 | + [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ], |
|
309 | + [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ] |
|
310 | 310 | ]); |
311 | 311 | |
312 | 312 | return $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(); |
@@ -60,35 +60,35 @@ discard block |
||
60 | 60 | * |
61 | 61 | * @var array |
62 | 62 | */ |
63 | - static public $schemaPropertyNames = []; |
|
63 | + static public $schemaPropertyNames = [ ]; |
|
64 | 64 | |
65 | 65 | /** |
66 | 66 | * The Schema.org composed Property Expected Types |
67 | 67 | * |
68 | 68 | * @var array |
69 | 69 | */ |
70 | - static public $schemaPropertyExpectedTypes = []; |
|
70 | + static public $schemaPropertyExpectedTypes = [ ]; |
|
71 | 71 | |
72 | 72 | /** |
73 | 73 | * The Schema.org composed Property Descriptions |
74 | 74 | * |
75 | 75 | * @var array |
76 | 76 | */ |
77 | - static public $schemaPropertyDescriptions = []; |
|
77 | + static public $schemaPropertyDescriptions = [ ]; |
|
78 | 78 | |
79 | 79 | /** |
80 | 80 | * The Schema.org composed Google Required Schema for this type |
81 | 81 | * |
82 | 82 | * @var array |
83 | 83 | */ |
84 | - static public $googleRequiredSchema = []; |
|
84 | + static public $googleRequiredSchema = [ ]; |
|
85 | 85 | |
86 | 86 | /** |
87 | 87 | * The Schema.org composed Google Recommended Schema for this type |
88 | 88 | * |
89 | 89 | * @var array |
90 | 90 | */ |
91 | - static public $googleRecommendedSchema = []; |
|
91 | + static public $googleRecommendedSchema = [ ]; |
|
92 | 92 | |
93 | 93 | // Public Properties |
94 | 94 | // ========================================================================= |
@@ -127,8 +127,8 @@ discard block |
||
127 | 127 | * @var array |
128 | 128 | */ |
129 | 129 | static protected $_schemaPropertyExpectedTypes = [ |
130 | - 'baseSalary' => ['MonetaryAmount','Number','PriceSpecification'], |
|
131 | - 'salaryCurrency' => ['Text'] |
|
130 | + 'baseSalary' => [ 'MonetaryAmount', 'Number', 'PriceSpecification' ], |
|
131 | + 'salaryCurrency' => [ 'Text' ] |
|
132 | 132 | ]; |
133 | 133 | |
134 | 134 | /** |
@@ -199,9 +199,9 @@ discard block |
||
199 | 199 | { |
200 | 200 | $rules = parent::rules(); |
201 | 201 | $rules = array_merge($rules, [ |
202 | - [['baseSalary','salaryCurrency'], 'validateJsonSchema'], |
|
203 | - [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
|
204 | - [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
|
202 | + [ [ 'baseSalary', 'salaryCurrency' ], 'validateJsonSchema' ], |
|
203 | + [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ], |
|
204 | + [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ] |
|
205 | 205 | ]); |
206 | 206 | |
207 | 207 | return $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(); |
@@ -60,35 +60,35 @@ discard block |
||
60 | 60 | * |
61 | 61 | * @var array |
62 | 62 | */ |
63 | - static public $schemaPropertyNames = []; |
|
63 | + static public $schemaPropertyNames = [ ]; |
|
64 | 64 | |
65 | 65 | /** |
66 | 66 | * The Schema.org composed Property Expected Types |
67 | 67 | * |
68 | 68 | * @var array |
69 | 69 | */ |
70 | - static public $schemaPropertyExpectedTypes = []; |
|
70 | + static public $schemaPropertyExpectedTypes = [ ]; |
|
71 | 71 | |
72 | 72 | /** |
73 | 73 | * The Schema.org composed Property Descriptions |
74 | 74 | * |
75 | 75 | * @var array |
76 | 76 | */ |
77 | - static public $schemaPropertyDescriptions = []; |
|
77 | + static public $schemaPropertyDescriptions = [ ]; |
|
78 | 78 | |
79 | 79 | /** |
80 | 80 | * The Schema.org composed Google Required Schema for this type |
81 | 81 | * |
82 | 82 | * @var array |
83 | 83 | */ |
84 | - static public $googleRequiredSchema = []; |
|
84 | + static public $googleRequiredSchema = [ ]; |
|
85 | 85 | |
86 | 86 | /** |
87 | 87 | * The Schema.org composed Google Recommended Schema for this type |
88 | 88 | * |
89 | 89 | * @var array |
90 | 90 | */ |
91 | - static public $googleRecommendedSchema = []; |
|
91 | + static public $googleRecommendedSchema = [ ]; |
|
92 | 92 | |
93 | 93 | // Public Properties |
94 | 94 | // ========================================================================= |
@@ -180,14 +180,14 @@ discard block |
||
180 | 180 | * @var array |
181 | 181 | */ |
182 | 182 | static protected $_schemaPropertyExpectedTypes = [ |
183 | - 'actor' => ['Person'], |
|
184 | - 'director' => ['Person'], |
|
185 | - 'episodeNumber' => ['Integer','Text'], |
|
186 | - 'musicBy' => ['MusicGroup','Person'], |
|
187 | - 'partOfSeason' => ['CreativeWorkSeason'], |
|
188 | - 'partOfSeries' => ['CreativeWorkSeries'], |
|
189 | - 'productionCompany' => ['Organization'], |
|
190 | - 'trailer' => ['VideoObject'] |
|
183 | + 'actor' => [ 'Person' ], |
|
184 | + 'director' => [ 'Person' ], |
|
185 | + 'episodeNumber' => [ 'Integer', 'Text' ], |
|
186 | + 'musicBy' => [ 'MusicGroup', 'Person' ], |
|
187 | + 'partOfSeason' => [ 'CreativeWorkSeason' ], |
|
188 | + 'partOfSeries' => [ 'CreativeWorkSeries' ], |
|
189 | + 'productionCompany' => [ 'Organization' ], |
|
190 | + 'trailer' => [ 'VideoObject' ] |
|
191 | 191 | ]; |
192 | 192 | |
193 | 193 | /** |
@@ -264,9 +264,9 @@ discard block |
||
264 | 264 | { |
265 | 265 | $rules = parent::rules(); |
266 | 266 | $rules = array_merge($rules, [ |
267 | - [['actor','director','episodeNumber','musicBy','partOfSeason','partOfSeries','productionCompany','trailer'], 'validateJsonSchema'], |
|
268 | - [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
|
269 | - [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
|
267 | + [ [ 'actor', 'director', 'episodeNumber', 'musicBy', 'partOfSeason', 'partOfSeries', 'productionCompany', 'trailer' ], 'validateJsonSchema' ], |
|
268 | + [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ], |
|
269 | + [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ] |
|
270 | 270 | ]); |
271 | 271 | |
272 | 272 | return $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(); |
@@ -59,35 +59,35 @@ discard block |
||
59 | 59 | * |
60 | 60 | * @var array |
61 | 61 | */ |
62 | - static public $schemaPropertyNames = []; |
|
62 | + static public $schemaPropertyNames = [ ]; |
|
63 | 63 | |
64 | 64 | /** |
65 | 65 | * The Schema.org composed Property Expected Types |
66 | 66 | * |
67 | 67 | * @var array |
68 | 68 | */ |
69 | - static public $schemaPropertyExpectedTypes = []; |
|
69 | + static public $schemaPropertyExpectedTypes = [ ]; |
|
70 | 70 | |
71 | 71 | /** |
72 | 72 | * The Schema.org composed Property Descriptions |
73 | 73 | * |
74 | 74 | * @var array |
75 | 75 | */ |
76 | - static public $schemaPropertyDescriptions = []; |
|
76 | + static public $schemaPropertyDescriptions = [ ]; |
|
77 | 77 | |
78 | 78 | /** |
79 | 79 | * The Schema.org composed Google Required Schema for this type |
80 | 80 | * |
81 | 81 | * @var array |
82 | 82 | */ |
83 | - static public $googleRequiredSchema = []; |
|
83 | + static public $googleRequiredSchema = [ ]; |
|
84 | 84 | |
85 | 85 | /** |
86 | 86 | * The Schema.org composed Google Recommended Schema for this type |
87 | 87 | * |
88 | 88 | * @var array |
89 | 89 | */ |
90 | - static public $googleRecommendedSchema = []; |
|
90 | + static public $googleRecommendedSchema = [ ]; |
|
91 | 91 | |
92 | 92 | // Public Properties |
93 | 93 | // ========================================================================= |
@@ -527,52 +527,52 @@ discard block |
||
527 | 527 | * @var array |
528 | 528 | */ |
529 | 529 | static protected $_schemaPropertyExpectedTypes = [ |
530 | - 'actionableFeedbackPolicy' => ['CreativeWork','URL'], |
|
531 | - 'address' => ['PostalAddress','Text'], |
|
532 | - 'aggregateRating' => ['AggregateRating'], |
|
533 | - 'alumni' => ['Person'], |
|
534 | - 'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'], |
|
535 | - 'award' => ['Text'], |
|
536 | - 'brand' => ['Brand','Organization'], |
|
537 | - 'contactPoint' => ['ContactPoint'], |
|
538 | - 'correctionsPolicy' => ['CreativeWork','URL'], |
|
539 | - 'department' => ['Organization'], |
|
540 | - 'dissolutionDate' => ['Date'], |
|
541 | - 'diversityPolicy' => ['CreativeWork','URL'], |
|
542 | - 'duns' => ['Text'], |
|
543 | - 'email' => ['Text'], |
|
544 | - 'employee' => ['Person'], |
|
545 | - 'ethicsPolicy' => ['CreativeWork','URL'], |
|
546 | - 'event' => ['Event'], |
|
547 | - 'faxNumber' => ['Text'], |
|
548 | - 'founder' => ['Person'], |
|
549 | - 'foundingDate' => ['Date'], |
|
550 | - 'foundingLocation' => ['Place'], |
|
551 | - 'funder' => ['Organization','Person'], |
|
552 | - 'globalLocationNumber' => ['Text'], |
|
553 | - 'hasOfferCatalog' => ['OfferCatalog'], |
|
554 | - 'hasPOS' => ['Place'], |
|
555 | - 'isicV4' => ['Text'], |
|
556 | - 'legalName' => ['Text'], |
|
557 | - 'leiCode' => ['Text'], |
|
558 | - 'location' => ['Place','PostalAddress','Text'], |
|
559 | - 'logo' => ['ImageObject','URL'], |
|
560 | - 'makesOffer' => ['Offer'], |
|
561 | - 'member' => ['Organization','Person'], |
|
562 | - 'memberOf' => ['Organization','ProgramMembership'], |
|
563 | - 'naics' => ['Text'], |
|
564 | - 'numberOfEmployees' => ['QuantitativeValue'], |
|
565 | - 'owns' => ['OwnershipInfo','Product'], |
|
566 | - 'parentOrganization' => ['Organization'], |
|
567 | - 'publishingPrinciples' => ['CreativeWork','URL'], |
|
568 | - 'review' => ['Review'], |
|
569 | - 'seeks' => ['Demand'], |
|
570 | - 'sponsor' => ['Organization','Person'], |
|
571 | - 'subOrganization' => ['Organization'], |
|
572 | - 'taxID' => ['Text'], |
|
573 | - 'telephone' => ['Text'], |
|
574 | - 'unnamedSourcesPolicy' => ['CreativeWork','URL'], |
|
575 | - 'vatID' => ['Text'] |
|
530 | + 'actionableFeedbackPolicy' => [ 'CreativeWork', 'URL' ], |
|
531 | + 'address' => [ 'PostalAddress', 'Text' ], |
|
532 | + 'aggregateRating' => [ 'AggregateRating' ], |
|
533 | + 'alumni' => [ 'Person' ], |
|
534 | + 'areaServed' => [ 'AdministrativeArea', 'GeoShape', 'Place', 'Text' ], |
|
535 | + 'award' => [ 'Text' ], |
|
536 | + 'brand' => [ 'Brand', 'Organization' ], |
|
537 | + 'contactPoint' => [ 'ContactPoint' ], |
|
538 | + 'correctionsPolicy' => [ 'CreativeWork', 'URL' ], |
|
539 | + 'department' => [ 'Organization' ], |
|
540 | + 'dissolutionDate' => [ 'Date' ], |
|
541 | + 'diversityPolicy' => [ 'CreativeWork', 'URL' ], |
|
542 | + 'duns' => [ 'Text' ], |
|
543 | + 'email' => [ 'Text' ], |
|
544 | + 'employee' => [ 'Person' ], |
|
545 | + 'ethicsPolicy' => [ 'CreativeWork', 'URL' ], |
|
546 | + 'event' => [ 'Event' ], |
|
547 | + 'faxNumber' => [ 'Text' ], |
|
548 | + 'founder' => [ 'Person' ], |
|
549 | + 'foundingDate' => [ 'Date' ], |
|
550 | + 'foundingLocation' => [ 'Place' ], |
|
551 | + 'funder' => [ 'Organization', 'Person' ], |
|
552 | + 'globalLocationNumber' => [ 'Text' ], |
|
553 | + 'hasOfferCatalog' => [ 'OfferCatalog' ], |
|
554 | + 'hasPOS' => [ 'Place' ], |
|
555 | + 'isicV4' => [ 'Text' ], |
|
556 | + 'legalName' => [ 'Text' ], |
|
557 | + 'leiCode' => [ 'Text' ], |
|
558 | + 'location' => [ 'Place', 'PostalAddress', 'Text' ], |
|
559 | + 'logo' => [ 'ImageObject', 'URL' ], |
|
560 | + 'makesOffer' => [ 'Offer' ], |
|
561 | + 'member' => [ 'Organization', 'Person' ], |
|
562 | + 'memberOf' => [ 'Organization', 'ProgramMembership' ], |
|
563 | + 'naics' => [ 'Text' ], |
|
564 | + 'numberOfEmployees' => [ 'QuantitativeValue' ], |
|
565 | + 'owns' => [ 'OwnershipInfo', 'Product' ], |
|
566 | + 'parentOrganization' => [ 'Organization' ], |
|
567 | + 'publishingPrinciples' => [ 'CreativeWork', 'URL' ], |
|
568 | + 'review' => [ 'Review' ], |
|
569 | + 'seeks' => [ 'Demand' ], |
|
570 | + 'sponsor' => [ 'Organization', 'Person' ], |
|
571 | + 'subOrganization' => [ 'Organization' ], |
|
572 | + 'taxID' => [ 'Text' ], |
|
573 | + 'telephone' => [ 'Text' ], |
|
574 | + 'unnamedSourcesPolicy' => [ 'CreativeWork', 'URL' ], |
|
575 | + 'vatID' => [ 'Text' ] |
|
576 | 576 | ]; |
577 | 577 | |
578 | 578 | /** |
@@ -687,9 +687,9 @@ discard block |
||
687 | 687 | { |
688 | 688 | $rules = parent::rules(); |
689 | 689 | $rules = array_merge($rules, [ |
690 | - [['actionableFeedbackPolicy','address','aggregateRating','alumni','areaServed','award','brand','contactPoint','correctionsPolicy','department','dissolutionDate','diversityPolicy','duns','email','employee','ethicsPolicy','event','faxNumber','founder','foundingDate','foundingLocation','funder','globalLocationNumber','hasOfferCatalog','hasPOS','isicV4','legalName','leiCode','location','logo','makesOffer','member','memberOf','naics','numberOfEmployees','owns','parentOrganization','publishingPrinciples','review','seeks','sponsor','subOrganization','taxID','telephone','unnamedSourcesPolicy','vatID'], 'validateJsonSchema'], |
|
691 | - [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
|
692 | - [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
|
690 | + [ [ 'actionableFeedbackPolicy', 'address', 'aggregateRating', 'alumni', 'areaServed', 'award', 'brand', 'contactPoint', 'correctionsPolicy', 'department', 'dissolutionDate', 'diversityPolicy', 'duns', 'email', 'employee', 'ethicsPolicy', 'event', 'faxNumber', 'founder', 'foundingDate', 'foundingLocation', 'funder', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'isicV4', 'legalName', 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf', 'naics', 'numberOfEmployees', 'owns', 'parentOrganization', 'publishingPrinciples', 'review', 'seeks', 'sponsor', 'subOrganization', 'taxID', 'telephone', 'unnamedSourcesPolicy', 'vatID' ], 'validateJsonSchema' ], |
|
691 | + [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ], |
|
692 | + [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ] |
|
693 | 693 | ]); |
694 | 694 | |
695 | 695 | return $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(); |