Passed
Push — develop ( 226eab...8c89fd )
by Andrew
10:33 queued 05:02
created
src/models/jsonld/TravelAction.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -60,35 +60,35 @@  discard block
 block discarded – undo
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
     // =========================================================================
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'distance' => ['Distance']
121
+        'distance' => [ 'Distance' ]
122 122
     ];
123 123
 
124 124
     /**
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
     {
189 189
         $rules = parent::rules();
190 190
         $rules = array_merge($rules, [
191
-            [['distance'], 'validateJsonSchema'],
192
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
193
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
191
+            [ [ 'distance' ], 'validateJsonSchema' ],
192
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
193
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
194 194
         ]);
195 195
 
196 196
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/PaymentCard.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -60,35 +60,35 @@  discard block
 block discarded – undo
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
     // =========================================================================
@@ -137,9 +137,9 @@  discard block
 block discarded – undo
137 137
      * @var array
138 138
      */
139 139
     static protected $_schemaPropertyExpectedTypes = [
140
-        'cashBack' => ['Boolean','Number'],
141
-        'contactlessPayment' => ['Boolean'],
142
-        'floorLimit' => ['MonetaryAmount']
140
+        'cashBack' => [ 'Boolean', 'Number' ],
141
+        'contactlessPayment' => [ 'Boolean' ],
142
+        'floorLimit' => [ 'MonetaryAmount' ]
143 143
     ];
144 144
 
145 145
     /**
@@ -211,9 +211,9 @@  discard block
 block discarded – undo
211 211
     {
212 212
         $rules = parent::rules();
213 213
         $rules = array_merge($rules, [
214
-            [['cashBack','contactlessPayment','floorLimit'], 'validateJsonSchema'],
215
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
216
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
214
+            [ [ 'cashBack', 'contactlessPayment', 'floorLimit' ], 'validateJsonSchema' ],
215
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
216
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
217 217
         ]);
218 218
 
219 219
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/SearchAction.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -61,35 +61,35 @@  discard block
 block discarded – undo
61 61
      *
62 62
      * @var array
63 63
      */
64
-    static public $schemaPropertyNames = [];
64
+    static public $schemaPropertyNames = [ ];
65 65
 
66 66
     /**
67 67
      * The Schema.org composed Property Expected Types
68 68
      *
69 69
      * @var array
70 70
      */
71
-    static public $schemaPropertyExpectedTypes = [];
71
+    static public $schemaPropertyExpectedTypes = [ ];
72 72
 
73 73
     /**
74 74
      * The Schema.org composed Property Descriptions
75 75
      *
76 76
      * @var array
77 77
      */
78
-    static public $schemaPropertyDescriptions = [];
78
+    static public $schemaPropertyDescriptions = [ ];
79 79
 
80 80
     /**
81 81
      * The Schema.org composed Google Required Schema for this type
82 82
      *
83 83
      * @var array
84 84
      */
85
-    static public $googleRequiredSchema = [];
85
+    static public $googleRequiredSchema = [ ];
86 86
 
87 87
     /**
88 88
      * The Schema.org composed Google Recommended Schema for this type
89 89
      *
90 90
      * @var array
91 91
      */
92
-    static public $googleRecommendedSchema = [];
92
+    static public $googleRecommendedSchema = [ ];
93 93
 
94 94
     // Public Properties
95 95
     // =========================================================================
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'query' => ['Text']
122
+        'query' => [ 'Text' ]
123 123
     ];
124 124
 
125 125
     /**
@@ -189,9 +189,9 @@  discard block
 block discarded – undo
189 189
     {
190 190
         $rules = parent::rules();
191 191
         $rules = array_merge($rules, [
192
-            [['query'], 'validateJsonSchema'],
193
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
194
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
192
+            [ [ 'query' ], 'validateJsonSchema' ],
193
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
194
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
195 195
         ]);
196 196
 
197 197
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/GiveAction.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -63,35 +63,35 @@  discard block
 block discarded – undo
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
     // =========================================================================
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * @var array
123 123
      */
124 124
     static protected $_schemaPropertyExpectedTypes = [
125
-        'recipient' => ['Audience','ContactPoint','Organization','Person']
125
+        'recipient' => [ 'Audience', 'ContactPoint', 'Organization', 'Person' ]
126 126
     ];
127 127
 
128 128
     /**
@@ -192,9 +192,9 @@  discard block
 block discarded – undo
192 192
     {
193 193
         $rules = parent::rules();
194 194
         $rules = array_merge($rules, [
195
-            [['recipient'], 'validateJsonSchema'],
196
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
197
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
195
+            [ [ 'recipient' ], 'validateJsonSchema' ],
196
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
197
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
198 198
         ]);
199 199
 
200 200
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/Offer.php 2 patches
Spacing   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -63,35 +63,35 @@  discard block
 block discarded – undo
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
     // =========================================================================
@@ -486,46 +486,46 @@  discard block
 block discarded – undo
486 486
      * @var array
487 487
      */
488 488
     static protected $_schemaPropertyExpectedTypes = [
489
-        'acceptedPaymentMethod' => ['LoanOrCredit','PaymentMethod'],
490
-        'addOn' => ['Offer'],
491
-        'advanceBookingRequirement' => ['QuantitativeValue'],
492
-        'aggregateRating' => ['AggregateRating'],
493
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
494
-        'availability' => ['ItemAvailability'],
495
-        'availabilityEnds' => ['DateTime'],
496
-        'availabilityStarts' => ['DateTime'],
497
-        'availableAtOrFrom' => ['Place'],
498
-        'availableDeliveryMethod' => ['DeliveryMethod'],
499
-        'businessFunction' => ['BusinessFunction'],
500
-        'category' => ['PhysicalActivityCategory','Text','Thing'],
501
-        'deliveryLeadTime' => ['QuantitativeValue'],
502
-        'eligibleCustomerType' => ['BusinessEntityType'],
503
-        'eligibleDuration' => ['QuantitativeValue'],
504
-        'eligibleQuantity' => ['QuantitativeValue'],
505
-        'eligibleRegion' => ['GeoShape','Place','Text'],
506
-        'eligibleTransactionVolume' => ['PriceSpecification'],
507
-        'gtin12' => ['Text'],
508
-        'gtin13' => ['Text'],
509
-        'gtin14' => ['Text'],
510
-        'gtin8' => ['Text'],
511
-        'includesObject' => ['TypeAndQuantityNode'],
512
-        'ineligibleRegion' => ['GeoShape','Place','Text'],
513
-        'inventoryLevel' => ['QuantitativeValue'],
514
-        'itemCondition' => ['OfferItemCondition'],
515
-        'itemOffered' => ['Product','Service'],
516
-        'mpn' => ['Text'],
517
-        'offeredBy' => ['Organization','Person'],
518
-        'price' => ['Number','Text'],
519
-        'priceCurrency' => ['Text'],
520
-        'priceSpecification' => ['PriceSpecification'],
521
-        'priceValidUntil' => ['Date'],
522
-        'review' => ['Review'],
523
-        'seller' => ['Organization','Person'],
524
-        'serialNumber' => ['Text'],
525
-        'sku' => ['Text'],
526
-        'validFrom' => ['DateTime'],
527
-        'validThrough' => ['DateTime'],
528
-        'warranty' => ['WarrantyPromise']
489
+        'acceptedPaymentMethod' => [ 'LoanOrCredit', 'PaymentMethod' ],
490
+        'addOn' => [ 'Offer' ],
491
+        'advanceBookingRequirement' => [ 'QuantitativeValue' ],
492
+        'aggregateRating' => [ 'AggregateRating' ],
493
+        'areaServed' => [ 'AdministrativeArea', 'GeoShape', 'Place', 'Text' ],
494
+        'availability' => [ 'ItemAvailability' ],
495
+        'availabilityEnds' => [ 'DateTime' ],
496
+        'availabilityStarts' => [ 'DateTime' ],
497
+        'availableAtOrFrom' => [ 'Place' ],
498
+        'availableDeliveryMethod' => [ 'DeliveryMethod' ],
499
+        'businessFunction' => [ 'BusinessFunction' ],
500
+        'category' => [ 'PhysicalActivityCategory', 'Text', 'Thing' ],
501
+        'deliveryLeadTime' => [ 'QuantitativeValue' ],
502
+        'eligibleCustomerType' => [ 'BusinessEntityType' ],
503
+        'eligibleDuration' => [ 'QuantitativeValue' ],
504
+        'eligibleQuantity' => [ 'QuantitativeValue' ],
505
+        'eligibleRegion' => [ 'GeoShape', 'Place', 'Text' ],
506
+        'eligibleTransactionVolume' => [ 'PriceSpecification' ],
507
+        'gtin12' => [ 'Text' ],
508
+        'gtin13' => [ 'Text' ],
509
+        'gtin14' => [ 'Text' ],
510
+        'gtin8' => [ 'Text' ],
511
+        'includesObject' => [ 'TypeAndQuantityNode' ],
512
+        'ineligibleRegion' => [ 'GeoShape', 'Place', 'Text' ],
513
+        'inventoryLevel' => [ 'QuantitativeValue' ],
514
+        'itemCondition' => [ 'OfferItemCondition' ],
515
+        'itemOffered' => [ 'Product', 'Service' ],
516
+        'mpn' => [ 'Text' ],
517
+        'offeredBy' => [ 'Organization', 'Person' ],
518
+        'price' => [ 'Number', 'Text' ],
519
+        'priceCurrency' => [ 'Text' ],
520
+        'priceSpecification' => [ 'PriceSpecification' ],
521
+        'priceValidUntil' => [ 'Date' ],
522
+        'review' => [ 'Review' ],
523
+        'seller' => [ 'Organization', 'Person' ],
524
+        'serialNumber' => [ 'Text' ],
525
+        'sku' => [ 'Text' ],
526
+        'validFrom' => [ 'DateTime' ],
527
+        'validThrough' => [ 'DateTime' ],
528
+        'warranty' => [ 'WarrantyPromise' ]
529 529
     ];
530 530
 
531 531
     /**
@@ -634,9 +634,9 @@  discard block
 block discarded – undo
634 634
     {
635 635
         $rules = parent::rules();
636 636
         $rules = array_merge($rules, [
637
-            [['acceptedPaymentMethod','addOn','advanceBookingRequirement','aggregateRating','areaServed','availability','availabilityEnds','availabilityStarts','availableAtOrFrom','availableDeliveryMethod','businessFunction','category','deliveryLeadTime','eligibleCustomerType','eligibleDuration','eligibleQuantity','eligibleRegion','eligibleTransactionVolume','gtin12','gtin13','gtin14','gtin8','includesObject','ineligibleRegion','inventoryLevel','itemCondition','itemOffered','mpn','offeredBy','price','priceCurrency','priceSpecification','priceValidUntil','review','seller','serialNumber','sku','validFrom','validThrough','warranty'], 'validateJsonSchema'],
638
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
639
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
637
+            [ [ 'acceptedPaymentMethod', 'addOn', 'advanceBookingRequirement', 'aggregateRating', 'areaServed', 'availability', 'availabilityEnds', 'availabilityStarts', 'availableAtOrFrom', 'availableDeliveryMethod', 'businessFunction', 'category', 'deliveryLeadTime', 'eligibleCustomerType', 'eligibleDuration', 'eligibleQuantity', 'eligibleRegion', 'eligibleTransactionVolume', 'gtin12', 'gtin13', 'gtin14', 'gtin8', 'includesObject', 'ineligibleRegion', 'inventoryLevel', 'itemCondition', 'itemOffered', 'mpn', 'offeredBy', 'price', 'priceCurrency', 'priceSpecification', 'priceValidUntil', 'review', 'seller', 'serialNumber', 'sku', 'validFrom', 'validThrough', 'warranty' ], 'validateJsonSchema' ],
638
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
639
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
640 640
         ]);
641 641
 
642 642
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/SpreadsheetDigitalDocument.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
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
     // =========================================================================
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'hasDigitalDocumentPermission' => ['DigitalDocumentPermission']
122
+        'hasDigitalDocumentPermission' => [ 'DigitalDocumentPermission' ]
123 123
     ];
124 124
 
125 125
     /**
@@ -189,9 +189,9 @@  discard block
 block discarded – undo
189 189
     {
190 190
         $rules = parent::rules();
191 191
         $rules = array_merge($rules, [
192
-            [['hasDigitalDocumentPermission'], 'validateJsonSchema'],
193
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
194
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
192
+            [ [ 'hasDigitalDocumentPermission' ], 'validateJsonSchema' ],
193
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
194
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
195 195
         ]);
196 196
 
197 197
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/DataFeed.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -60,35 +60,35 @@  discard block
 block discarded – undo
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
     // =========================================================================
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'dataFeedElement' => ['DataFeedItem','Text','Thing']
121
+        'dataFeedElement' => [ 'DataFeedItem', 'Text', 'Thing' ]
122 122
     ];
123 123
 
124 124
     /**
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
     {
189 189
         $rules = parent::rules();
190 190
         $rules = array_merge($rules, [
191
-            [['dataFeedElement'], 'validateJsonSchema'],
192
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
193
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
191
+            [ [ 'dataFeedElement' ], 'validateJsonSchema' ],
192
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
193
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
194 194
         ]);
195 195
 
196 196
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/ShareAction.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -60,35 +60,35 @@  discard block
 block discarded – undo
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
     // =========================================================================
@@ -137,9 +137,9 @@  discard block
 block discarded – undo
137 137
      * @var array
138 138
      */
139 139
     static protected $_schemaPropertyExpectedTypes = [
140
-        'about' => ['Thing'],
141
-        'inLanguage' => ['Language','Text'],
142
-        'recipient' => ['Audience','ContactPoint','Organization','Person']
140
+        'about' => [ 'Thing' ],
141
+        'inLanguage' => [ 'Language', 'Text' ],
142
+        'recipient' => [ 'Audience', 'ContactPoint', 'Organization', 'Person' ]
143 143
     ];
144 144
 
145 145
     /**
@@ -211,9 +211,9 @@  discard block
 block discarded – undo
211 211
     {
212 212
         $rules = parent::rules();
213 213
         $rules = array_merge($rules, [
214
-            [['about','inLanguage','recipient'], 'validateJsonSchema'],
215
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
216
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
214
+            [ [ 'about', 'inLanguage', 'recipient' ], 'validateJsonSchema' ],
215
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
216
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
217 217
         ]);
218 218
 
219 219
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/BusinessAudience.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -60,35 +60,35 @@  discard block
 block discarded – undo
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
     // =========================================================================
@@ -134,9 +134,9 @@  discard block
 block discarded – undo
134 134
      * @var array
135 135
      */
136 136
     static protected $_schemaPropertyExpectedTypes = [
137
-        'numberOfEmployees' => ['QuantitativeValue'],
138
-        'yearlyRevenue' => ['QuantitativeValue'],
139
-        'yearsInOperation' => ['QuantitativeValue']
137
+        'numberOfEmployees' => [ 'QuantitativeValue' ],
138
+        'yearlyRevenue' => [ 'QuantitativeValue' ],
139
+        'yearsInOperation' => [ 'QuantitativeValue' ]
140 140
     ];
141 141
 
142 142
     /**
@@ -208,9 +208,9 @@  discard block
 block discarded – undo
208 208
     {
209 209
         $rules = parent::rules();
210 210
         $rules = array_merge($rules, [
211
-            [['numberOfEmployees','yearlyRevenue','yearsInOperation'], 'validateJsonSchema'],
212
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
213
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
211
+            [ [ 'numberOfEmployees', 'yearlyRevenue', 'yearsInOperation' ], 'validateJsonSchema' ],
212
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
213
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
214 214
         ]);
215 215
 
216 216
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.