Passed
Push — develop ( 226eab...8c89fd )
by Andrew
10:33 queued 05:02
created
src/models/jsonld/SocialMediaPosting.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
     // =========================================================================
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'sharedContent' => ['CreativeWork']
122
+        'sharedContent' => [ 'CreativeWork' ]
123 123
     ];
124 124
 
125 125
     /**
@@ -192,9 +192,9 @@  discard block
 block discarded – undo
192 192
     {
193 193
         $rules = parent::rules();
194 194
         $rules = array_merge($rules, [
195
-            [['sharedContent'], '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
+            [ [ 'sharedContent' ], '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/BusReservation.php 2 patches
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -62,35 +62,35 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @var array
64 64
      */
65
-    static public $schemaPropertyNames = [];
65
+    static public $schemaPropertyNames = [ ];
66 66
 
67 67
     /**
68 68
      * The Schema.org composed Property Expected Types
69 69
      *
70 70
      * @var array
71 71
      */
72
-    static public $schemaPropertyExpectedTypes = [];
72
+    static public $schemaPropertyExpectedTypes = [ ];
73 73
 
74 74
     /**
75 75
      * The Schema.org composed Property Descriptions
76 76
      *
77 77
      * @var array
78 78
      */
79
-    static public $schemaPropertyDescriptions = [];
79
+    static public $schemaPropertyDescriptions = [ ];
80 80
 
81 81
     /**
82 82
      * The Schema.org composed Google Required Schema for this type
83 83
      *
84 84
      * @var array
85 85
      */
86
-    static public $googleRequiredSchema = [];
86
+    static public $googleRequiredSchema = [ ];
87 87
 
88 88
     /**
89 89
      * The Schema.org composed Google Recommended Schema for this type
90 90
      *
91 91
      * @var array
92 92
      */
93
-    static public $googleRecommendedSchema = [];
93
+    static public $googleRecommendedSchema = [ ];
94 94
 
95 95
     // Public Properties
96 96
     // =========================================================================
@@ -218,18 +218,18 @@  discard block
 block discarded – undo
218 218
      * @var array
219 219
      */
220 220
     static protected $_schemaPropertyExpectedTypes = [
221
-        'bookingTime' => ['DateTime'],
222
-        'broker' => ['Organization','Person'],
223
-        'modifiedTime' => ['DateTime'],
224
-        'priceCurrency' => ['Text'],
225
-        'programMembershipUsed' => ['ProgramMembership'],
226
-        'provider' => ['Organization','Person'],
227
-        'reservationFor' => ['Thing'],
228
-        'reservationId' => ['Text'],
229
-        'reservationStatus' => ['ReservationStatusType'],
230
-        'reservedTicket' => ['Ticket'],
231
-        'totalPrice' => ['Number','PriceSpecification','Text'],
232
-        'underName' => ['Organization','Person']
221
+        'bookingTime' => [ 'DateTime' ],
222
+        'broker' => [ 'Organization', 'Person' ],
223
+        'modifiedTime' => [ 'DateTime' ],
224
+        'priceCurrency' => [ 'Text' ],
225
+        'programMembershipUsed' => [ 'ProgramMembership' ],
226
+        'provider' => [ 'Organization', 'Person' ],
227
+        'reservationFor' => [ 'Thing' ],
228
+        'reservationId' => [ 'Text' ],
229
+        'reservationStatus' => [ 'ReservationStatusType' ],
230
+        'reservedTicket' => [ 'Ticket' ],
231
+        'totalPrice' => [ 'Number', 'PriceSpecification', 'Text' ],
232
+        'underName' => [ 'Organization', 'Person' ]
233 233
     ];
234 234
 
235 235
     /**
@@ -310,9 +310,9 @@  discard block
 block discarded – undo
310 310
     {
311 311
         $rules = parent::rules();
312 312
         $rules = array_merge($rules, [
313
-            [['bookingTime','broker','modifiedTime','priceCurrency','programMembershipUsed','provider','reservationFor','reservationId','reservationStatus','reservedTicket','totalPrice','underName'], 'validateJsonSchema'],
314
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
315
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
313
+            [ [ 'bookingTime', 'broker', 'modifiedTime', 'priceCurrency', 'programMembershipUsed', 'provider', 'reservationFor', 'reservationId', 'reservationStatus', 'reservedTicket', 'totalPrice', 'underName' ], 'validateJsonSchema' ],
314
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
315
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
316 316
         ]);
317 317
 
318 318
         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/PropertyValue.php 2 patches
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -65,35 +65,35 @@  discard block
 block discarded – undo
65 65
      *
66 66
      * @var array
67 67
      */
68
-    static public $schemaPropertyNames = [];
68
+    static public $schemaPropertyNames = [ ];
69 69
 
70 70
     /**
71 71
      * The Schema.org composed Property Expected Types
72 72
      *
73 73
      * @var array
74 74
      */
75
-    static public $schemaPropertyExpectedTypes = [];
75
+    static public $schemaPropertyExpectedTypes = [ ];
76 76
 
77 77
     /**
78 78
      * The Schema.org composed Property Descriptions
79 79
      *
80 80
      * @var array
81 81
      */
82
-    static public $schemaPropertyDescriptions = [];
82
+    static public $schemaPropertyDescriptions = [ ];
83 83
 
84 84
     /**
85 85
      * The Schema.org composed Google Required Schema for this type
86 86
      *
87 87
      * @var array
88 88
      */
89
-    static public $googleRequiredSchema = [];
89
+    static public $googleRequiredSchema = [ ];
90 90
 
91 91
     /**
92 92
      * The Schema.org composed Google Recommended Schema for this type
93 93
      *
94 94
      * @var array
95 95
      */
96
-    static public $googleRecommendedSchema = [];
96
+    static public $googleRecommendedSchema = [ ];
97 97
 
98 98
     // Public Properties
99 99
     // =========================================================================
@@ -206,14 +206,14 @@  discard block
 block discarded – undo
206 206
      * @var array
207 207
      */
208 208
     static protected $_schemaPropertyExpectedTypes = [
209
-        'maxValue' => ['Number'],
210
-        'measurementTechnique' => ['Text','URL'],
211
-        'minValue' => ['Number'],
212
-        'propertyID' => ['Text','URL'],
213
-        'unitCode' => ['Text','URL'],
214
-        'unitText' => ['Text'],
215
-        'value' => ['Boolean','Number','StructuredValue','Text'],
216
-        'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue']
209
+        'maxValue' => [ 'Number' ],
210
+        'measurementTechnique' => [ 'Text', 'URL' ],
211
+        'minValue' => [ 'Number' ],
212
+        'propertyID' => [ 'Text', 'URL' ],
213
+        'unitCode' => [ 'Text', 'URL' ],
214
+        'unitText' => [ 'Text' ],
215
+        'value' => [ 'Boolean', 'Number', 'StructuredValue', 'Text' ],
216
+        'valueReference' => [ 'Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue' ]
217 217
     ];
218 218
 
219 219
     /**
@@ -290,9 +290,9 @@  discard block
 block discarded – undo
290 290
     {
291 291
         $rules = parent::rules();
292 292
         $rules = array_merge($rules, [
293
-            [['maxValue','measurementTechnique','minValue','propertyID','unitCode','unitText','value','valueReference'], 'validateJsonSchema'],
294
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
295
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
293
+            [ [ 'maxValue', 'measurementTechnique', 'minValue', 'propertyID', 'unitCode', 'unitText', 'value', 'valueReference' ], 'validateJsonSchema' ],
294
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
295
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
296 296
         ]);
297 297
 
298 298
         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/WebApplication.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
     // =========================================================================
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'browserRequirements' => ['Text']
121
+        'browserRequirements' => [ 'Text' ]
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
-            [['browserRequirements'], '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
+            [ [ 'browserRequirements' ], '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/AppendAction.php 2 patches
Spacing   +8 added lines, -8 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
     // =========================================================================
@@ -180,9 +180,9 @@  discard block
 block discarded – undo
180 180
     {
181 181
         $rules = parent::rules();
182 182
         $rules = array_merge($rules, [
183
-            [[], 'validateJsonSchema'],
184
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
185
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
183
+            [ [ ], 'validateJsonSchema' ],
184
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
185
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
186 186
         ]);
187 187
 
188 188
         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/Message.php 2 patches
Spacing   +17 added lines, -17 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
     // =========================================================================
@@ -186,15 +186,15 @@  discard block
 block discarded – undo
186 186
      * @var array
187 187
      */
188 188
     static protected $_schemaPropertyExpectedTypes = [
189
-        'bccRecipient' => ['ContactPoint','Organization','Person'],
190
-        'ccRecipient' => ['ContactPoint','Organization','Person'],
191
-        'dateRead' => ['DateTime'],
192
-        'dateReceived' => ['DateTime'],
193
-        'dateSent' => ['DateTime'],
194
-        'messageAttachment' => ['CreativeWork'],
195
-        'recipient' => ['Audience','ContactPoint','Organization','Person'],
196
-        'sender' => ['Audience','Organization','Person'],
197
-        'toRecipient' => ['Audience','ContactPoint','Organization','Person']
189
+        'bccRecipient' => [ 'ContactPoint', 'Organization', 'Person' ],
190
+        'ccRecipient' => [ 'ContactPoint', 'Organization', 'Person' ],
191
+        'dateRead' => [ 'DateTime' ],
192
+        'dateReceived' => [ 'DateTime' ],
193
+        'dateSent' => [ 'DateTime' ],
194
+        'messageAttachment' => [ 'CreativeWork' ],
195
+        'recipient' => [ 'Audience', 'ContactPoint', 'Organization', 'Person' ],
196
+        'sender' => [ 'Audience', 'Organization', 'Person' ],
197
+        'toRecipient' => [ 'Audience', 'ContactPoint', 'Organization', 'Person' ]
198 198
     ];
199 199
 
200 200
     /**
@@ -272,9 +272,9 @@  discard block
 block discarded – undo
272 272
     {
273 273
         $rules = parent::rules();
274 274
         $rules = array_merge($rules, [
275
-            [['bccRecipient','ccRecipient','dateRead','dateReceived','dateSent','messageAttachment','recipient','sender','toRecipient'], 'validateJsonSchema'],
276
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
277
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
275
+            [ [ 'bccRecipient', 'ccRecipient', 'dateRead', 'dateReceived', 'dateSent', 'messageAttachment', 'recipient', 'sender', 'toRecipient' ], 'validateJsonSchema' ],
276
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
277
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
278 278
         ]);
279 279
 
280 280
         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/Menu.php 2 patches
Spacing   +10 added lines, -10 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
     // =========================================================================
@@ -126,8 +126,8 @@  discard block
 block discarded – undo
126 126
      * @var array
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129
-        'hasMenuItem' => ['MenuItem'],
130
-        'hasMenuSection' => ['MenuSection']
129
+        'hasMenuItem' => [ 'MenuItem' ],
130
+        'hasMenuSection' => [ 'MenuSection' ]
131 131
     ];
132 132
 
133 133
     /**
@@ -198,9 +198,9 @@  discard block
 block discarded – undo
198 198
     {
199 199
         $rules = parent::rules();
200 200
         $rules = array_merge($rules, [
201
-            [['hasMenuItem','hasMenuSection'], 'validateJsonSchema'],
202
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
203
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
201
+            [ [ 'hasMenuItem', 'hasMenuSection' ], 'validateJsonSchema' ],
202
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
203
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
204 204
         ]);
205 205
 
206 206
         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/ProfilePage.php 2 patches
Spacing   +17 added lines, -17 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
     // =========================================================================
@@ -203,15 +203,15 @@  discard block
 block discarded – undo
203 203
      * @var array
204 204
      */
205 205
     static protected $_schemaPropertyExpectedTypes = [
206
-        'breadcrumb' => ['BreadcrumbList','Text'],
207
-        'lastReviewed' => ['Date'],
208
-        'mainContentOfPage' => ['WebPageElement'],
209
-        'primaryImageOfPage' => ['ImageObject'],
210
-        'relatedLink' => ['URL'],
211
-        'reviewedBy' => ['Organization','Person'],
212
-        'significantLink' => ['URL'],
213
-        'speakable' => ['SpeakableSpecification','URL'],
214
-        'specialty' => ['Specialty']
206
+        'breadcrumb' => [ 'BreadcrumbList', 'Text' ],
207
+        'lastReviewed' => [ 'Date' ],
208
+        'mainContentOfPage' => [ 'WebPageElement' ],
209
+        'primaryImageOfPage' => [ 'ImageObject' ],
210
+        'relatedLink' => [ 'URL' ],
211
+        'reviewedBy' => [ 'Organization', 'Person' ],
212
+        'significantLink' => [ 'URL' ],
213
+        'speakable' => [ 'SpeakableSpecification', 'URL' ],
214
+        'specialty' => [ 'Specialty' ]
215 215
     ];
216 216
 
217 217
     /**
@@ -289,9 +289,9 @@  discard block
 block discarded – undo
289 289
     {
290 290
         $rules = parent::rules();
291 291
         $rules = array_merge($rules, [
292
-            [['breadcrumb','lastReviewed','mainContentOfPage','primaryImageOfPage','relatedLink','reviewedBy','significantLink','speakable','specialty'], 'validateJsonSchema'],
293
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
294
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
292
+            [ [ 'breadcrumb', 'lastReviewed', 'mainContentOfPage', 'primaryImageOfPage', 'relatedLink', 'reviewedBy', 'significantLink', 'speakable', 'specialty' ], 'validateJsonSchema' ],
293
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
294
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
295 295
         ]);
296 296
 
297 297
         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/DeleteAction.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
     // =========================================================================
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'targetCollection' => ['Thing']
122
+        'targetCollection' => [ 'Thing' ]
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
-            [['targetCollection'], '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
+            [ [ 'targetCollection' ], '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.