Passed
Push — develop ( 226eab...8c89fd )
by Andrew
10:33 queued 05:02
created
src/models/jsonld/TVSeries.php 2 patches
Spacing   +18 added lines, -18 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
     // =========================================================================
@@ -197,16 +197,16 @@  discard block
 block discarded – undo
197 197
      * @var array
198 198
      */
199 199
     static protected $_schemaPropertyExpectedTypes = [
200
-        'actor' => ['Person'],
201
-        'containsSeason' => ['CreativeWorkSeason'],
202
-        'countryOfOrigin' => ['Country'],
203
-        'director' => ['Person'],
204
-        'episode' => ['Episode'],
205
-        'musicBy' => ['MusicGroup','Person'],
206
-        'numberOfEpisodes' => ['Integer'],
207
-        'numberOfSeasons' => ['Integer'],
208
-        'productionCompany' => ['Organization'],
209
-        'trailer' => ['VideoObject']
200
+        'actor' => [ 'Person' ],
201
+        'containsSeason' => [ 'CreativeWorkSeason' ],
202
+        'countryOfOrigin' => [ 'Country' ],
203
+        'director' => [ 'Person' ],
204
+        'episode' => [ 'Episode' ],
205
+        'musicBy' => [ 'MusicGroup', 'Person' ],
206
+        'numberOfEpisodes' => [ 'Integer' ],
207
+        'numberOfSeasons' => [ 'Integer' ],
208
+        'productionCompany' => [ 'Organization' ],
209
+        'trailer' => [ 'VideoObject' ]
210 210
     ];
211 211
 
212 212
     /**
@@ -285,9 +285,9 @@  discard block
 block discarded – undo
285 285
     {
286 286
         $rules = parent::rules();
287 287
         $rules = array_merge($rules, [
288
-            [['actor','containsSeason','countryOfOrigin','director','episode','musicBy','numberOfEpisodes','numberOfSeasons','productionCompany','trailer'], 'validateJsonSchema'],
289
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
290
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
288
+            [ [ 'actor', 'containsSeason', 'countryOfOrigin', 'director', 'episode', 'musicBy', 'numberOfEpisodes', 'numberOfSeasons', 'productionCompany', 'trailer' ], 'validateJsonSchema' ],
289
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
290
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
291 291
         ]);
292 292
 
293 293
         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/ProgramMembership.php 2 patches
Spacing   +12 added lines, -12 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
     // =========================================================================
@@ -146,10 +146,10 @@  discard block
 block discarded – undo
146 146
      * @var array
147 147
      */
148 148
     static protected $_schemaPropertyExpectedTypes = [
149
-        'hostingOrganization' => ['Organization'],
150
-        'member' => ['Organization','Person'],
151
-        'membershipNumber' => ['Text'],
152
-        'programName' => ['Text']
149
+        'hostingOrganization' => [ 'Organization' ],
150
+        'member' => [ 'Organization', 'Person' ],
151
+        'membershipNumber' => [ 'Text' ],
152
+        'programName' => [ 'Text' ]
153 153
     ];
154 154
 
155 155
     /**
@@ -222,9 +222,9 @@  discard block
 block discarded – undo
222 222
     {
223 223
         $rules = parent::rules();
224 224
         $rules = array_merge($rules, [
225
-            [['hostingOrganization','member','membershipNumber','programName'], 'validateJsonSchema'],
226
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
227
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
225
+            [ [ 'hostingOrganization', 'member', 'membershipNumber', 'programName' ], 'validateJsonSchema' ],
226
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
227
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
228 228
         ]);
229 229
 
230 230
         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/RsvpAction.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
     // =========================================================================
@@ -135,9 +135,9 @@  discard block
 block discarded – undo
135 135
      * @var array
136 136
      */
137 137
     static protected $_schemaPropertyExpectedTypes = [
138
-        'additionalNumberOfGuests' => ['Number'],
139
-        'comment' => ['Comment'],
140
-        'rsvpResponse' => ['RsvpResponseType']
138
+        'additionalNumberOfGuests' => [ 'Number' ],
139
+        'comment' => [ 'Comment' ],
140
+        'rsvpResponse' => [ 'RsvpResponseType' ]
141 141
     ];
142 142
 
143 143
     /**
@@ -209,9 +209,9 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $rules = parent::rules();
211 211
         $rules = array_merge($rules, [
212
-            [['additionalNumberOfGuests','comment','rsvpResponse'], 'validateJsonSchema'],
213
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
214
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
212
+            [ [ 'additionalNumberOfGuests', 'comment', 'rsvpResponse' ], 'validateJsonSchema' ],
213
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
214
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
215 215
         ]);
216 216
 
217 217
         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/SendAction.php 2 patches
Spacing   +10 added lines, -10 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
     // =========================================================================
@@ -130,8 +130,8 @@  discard block
 block discarded – undo
130 130
      * @var array
131 131
      */
132 132
     static protected $_schemaPropertyExpectedTypes = [
133
-        'deliveryMethod' => ['DeliveryMethod'],
134
-        'recipient' => ['Audience','ContactPoint','Organization','Person']
133
+        'deliveryMethod' => [ 'DeliveryMethod' ],
134
+        'recipient' => [ 'Audience', 'ContactPoint', 'Organization', 'Person' ]
135 135
     ];
136 136
 
137 137
     /**
@@ -202,9 +202,9 @@  discard block
 block discarded – undo
202 202
     {
203 203
         $rules = parent::rules();
204 204
         $rules = array_merge($rules, [
205
-            [['deliveryMethod','recipient'], '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
+            [ [ 'deliveryMethod', 'recipient' ], '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;
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/SomeProducts.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
-        'inventoryLevel' => ['QuantitativeValue']
121
+        'inventoryLevel' => [ 'QuantitativeValue' ]
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
-            [['inventoryLevel'], '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
+            [ [ 'inventoryLevel' ], '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/TypeAndQuantityNode.php 2 patches
Spacing   +13 added lines, -13 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
     // =========================================================================
@@ -155,11 +155,11 @@  discard block
 block discarded – undo
155 155
      * @var array
156 156
      */
157 157
     static protected $_schemaPropertyExpectedTypes = [
158
-        'amountOfThisGood' => ['Number'],
159
-        'businessFunction' => ['BusinessFunction'],
160
-        'typeOfGood' => ['Product','Service'],
161
-        'unitCode' => ['Text','URL'],
162
-        'unitText' => ['Text']
158
+        'amountOfThisGood' => [ 'Number' ],
159
+        'businessFunction' => [ 'BusinessFunction' ],
160
+        'typeOfGood' => [ 'Product', 'Service' ],
161
+        'unitCode' => [ 'Text', 'URL' ],
162
+        'unitText' => [ 'Text' ]
163 163
     ];
164 164
 
165 165
     /**
@@ -233,9 +233,9 @@  discard block
 block discarded – undo
233 233
     {
234 234
         $rules = parent::rules();
235 235
         $rules = array_merge($rules, [
236
-            [['amountOfThisGood','businessFunction','typeOfGood','unitCode','unitText'], 'validateJsonSchema'],
237
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
238
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
236
+            [ [ 'amountOfThisGood', 'businessFunction', 'typeOfGood', 'unitCode', 'unitText' ], 'validateJsonSchema' ],
237
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
238
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
239 239
         ]);
240 240
 
241 241
         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/Audience.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
     // =========================================================================
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
      * @var array
128 128
      */
129 129
     static protected $_schemaPropertyExpectedTypes = [
130
-        'audienceType' => ['Text'],
131
-        'geographicArea' => ['AdministrativeArea']
130
+        'audienceType' => [ 'Text' ],
131
+        'geographicArea' => [ 'AdministrativeArea' ]
132 132
     ];
133 133
 
134 134
     /**
@@ -199,9 +199,9 @@  discard block
 block discarded – undo
199 199
     {
200 200
         $rules = parent::rules();
201 201
         $rules = array_merge($rules, [
202
-            [['audienceType','geographicArea'], '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
+            [ [ 'audienceType', 'geographicArea' ], '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;
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/BorrowAction.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
     // =========================================================================
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * @var array
121 121
      */
122 122
     static protected $_schemaPropertyExpectedTypes = [
123
-        'lender' => ['Organization','Person']
123
+        'lender' => [ 'Organization', 'Person' ]
124 124
     ];
125 125
 
126 126
     /**
@@ -190,9 +190,9 @@  discard block
 block discarded – undo
190 190
     {
191 191
         $rules = parent::rules();
192 192
         $rules = array_merge($rules, [
193
-            [['lender'], 'validateJsonSchema'],
194
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
195
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
193
+            [ [ 'lender' ], 'validateJsonSchema' ],
194
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
195
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
196 196
         ]);
197 197
 
198 198
         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/HowToDirection.php 2 patches
Spacing   +16 added lines, -16 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
     // =========================================================================
@@ -182,14 +182,14 @@  discard block
 block discarded – undo
182 182
      * @var array
183 183
      */
184 184
     static protected $_schemaPropertyExpectedTypes = [
185
-        'afterMedia' => ['MediaObject'],
186
-        'beforeMedia' => ['MediaObject'],
187
-        'duringMedia' => ['MediaObject'],
188
-        'performTime' => ['Duration'],
189
-        'prepTime' => ['Duration'],
190
-        'supply' => ['HowToSupply','Text'],
191
-        'tool' => ['HowToTool','Text'],
192
-        'totalTime' => ['Duration']
185
+        'afterMedia' => [ 'MediaObject' ],
186
+        'beforeMedia' => [ 'MediaObject' ],
187
+        'duringMedia' => [ 'MediaObject' ],
188
+        'performTime' => [ 'Duration' ],
189
+        'prepTime' => [ 'Duration' ],
190
+        'supply' => [ 'HowToSupply', 'Text' ],
191
+        'tool' => [ 'HowToTool', 'Text' ],
192
+        'totalTime' => [ 'Duration' ]
193 193
     ];
194 194
 
195 195
     /**
@@ -266,9 +266,9 @@  discard block
 block discarded – undo
266 266
     {
267 267
         $rules = parent::rules();
268 268
         $rules = array_merge($rules, [
269
-            [['afterMedia','beforeMedia','duringMedia','performTime','prepTime','supply','tool','totalTime'], 'validateJsonSchema'],
270
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
271
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
269
+            [ [ 'afterMedia', 'beforeMedia', 'duringMedia', 'performTime', 'prepTime', 'supply', 'tool', 'totalTime' ], 'validateJsonSchema' ],
270
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
271
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
272 272
         ]);
273 273
 
274 274
         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.