Passed
Push — v3 ( 21dc87...5a2177 )
by Andrew
13:57 queued 07:33
created
src/models/jsonld/VideoObject.php 2 patches
Spacing   +16 added lines, -16 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
     // =========================================================================
@@ -178,14 +178,14 @@  discard block
 block discarded – undo
178 178
      * @var array
179 179
      */
180 180
     static protected $_schemaPropertyExpectedTypes = [
181
-        'actor' => ['Person'],
182
-        'caption' => ['Text'],
183
-        'director' => ['Person'],
184
-        'musicBy' => ['MusicGroup','Person'],
185
-        'thumbnail' => ['ImageObject'],
186
-        'transcript' => ['Text'],
187
-        'videoFrameSize' => ['Text'],
188
-        'videoQuality' => ['Text']
181
+        'actor' => [ 'Person' ],
182
+        'caption' => [ 'Text' ],
183
+        'director' => [ 'Person' ],
184
+        'musicBy' => [ 'MusicGroup', 'Person' ],
185
+        'thumbnail' => [ 'ImageObject' ],
186
+        'transcript' => [ 'Text' ],
187
+        'videoFrameSize' => [ 'Text' ],
188
+        'videoQuality' => [ 'Text' ]
189 189
     ];
190 190
 
191 191
     /**
@@ -262,9 +262,9 @@  discard block
 block discarded – undo
262 262
     {
263 263
         $rules = parent::rules();
264 264
         $rules = array_merge($rules, [
265
-            [['actor','caption','director','musicBy','thumbnail','transcript','videoFrameSize','videoQuality'], 'validateJsonSchema'],
266
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
267
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
265
+            [ [ 'actor', 'caption', 'director', 'musicBy', 'thumbnail', 'transcript', 'videoFrameSize', 'videoQuality' ], 'validateJsonSchema' ],
266
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
267
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
268 268
         ]);
269 269
 
270 270
         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/AudioObject.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
-        'transcript' => ['Text']
121
+        'transcript' => [ '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
-            [['transcript'], '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
+            [ [ 'transcript' ], '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/PlayAction.php 2 patches
Spacing   +10 added lines, -10 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
     // =========================================================================
@@ -133,8 +133,8 @@  discard block
 block discarded – undo
133 133
      * @var array
134 134
      */
135 135
     static protected $_schemaPropertyExpectedTypes = [
136
-        'audience' => ['Audience'],
137
-        'event' => ['Event']
136
+        'audience' => [ 'Audience' ],
137
+        'event' => [ 'Event' ]
138 138
     ];
139 139
 
140 140
     /**
@@ -205,9 +205,9 @@  discard block
 block discarded – undo
205 205
     {
206 206
         $rules = parent::rules();
207 207
         $rules = array_merge($rules, [
208
-            [['audience','event'], 'validateJsonSchema'],
209
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
210
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
208
+            [ [ 'audience', 'event' ], 'validateJsonSchema' ],
209
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
210
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
211 211
         ]);
212 212
 
213 213
         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/PeopleAudience.php 2 patches
Spacing   +15 added lines, -15 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
     // =========================================================================
@@ -167,13 +167,13 @@  discard block
 block discarded – undo
167 167
      * @var array
168 168
      */
169 169
     static protected $_schemaPropertyExpectedTypes = [
170
-        'healthCondition' => ['MedicalCondition'],
171
-        'requiredGender' => ['Text'],
172
-        'requiredMaxAge' => ['Integer'],
173
-        'requiredMinAge' => ['Integer'],
174
-        'suggestedGender' => ['Text'],
175
-        'suggestedMaxAge' => ['Number'],
176
-        'suggestedMinAge' => ['Number']
170
+        'healthCondition' => [ 'MedicalCondition' ],
171
+        'requiredGender' => [ 'Text' ],
172
+        'requiredMaxAge' => [ 'Integer' ],
173
+        'requiredMinAge' => [ 'Integer' ],
174
+        'suggestedGender' => [ 'Text' ],
175
+        'suggestedMaxAge' => [ 'Number' ],
176
+        'suggestedMinAge' => [ 'Number' ]
177 177
     ];
178 178
 
179 179
     /**
@@ -249,9 +249,9 @@  discard block
 block discarded – undo
249 249
     {
250 250
         $rules = parent::rules();
251 251
         $rules = array_merge($rules, [
252
-            [['healthCondition','requiredGender','requiredMaxAge','requiredMinAge','suggestedGender','suggestedMaxAge','suggestedMinAge'], 'validateJsonSchema'],
253
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
254
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
252
+            [ [ 'healthCondition', 'requiredGender', 'requiredMaxAge', 'requiredMinAge', 'suggestedGender', 'suggestedMaxAge', 'suggestedMinAge' ], 'validateJsonSchema' ],
253
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
254
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
255 255
         ]);
256 256
 
257 257
         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/NewsArticle.php 2 patches
Spacing   +13 added lines, -13 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
     // =========================================================================
@@ -157,11 +157,11 @@  discard block
 block discarded – undo
157 157
      * @var array
158 158
      */
159 159
     static protected $_schemaPropertyExpectedTypes = [
160
-        'dateline' => ['Text'],
161
-        'printColumn' => ['Text'],
162
-        'printEdition' => ['Text'],
163
-        'printPage' => ['Text'],
164
-        'printSection' => ['Text']
160
+        'dateline' => [ 'Text' ],
161
+        'printColumn' => [ 'Text' ],
162
+        'printEdition' => [ 'Text' ],
163
+        'printPage' => [ 'Text' ],
164
+        'printSection' => [ 'Text' ]
165 165
     ];
166 166
 
167 167
     /**
@@ -242,9 +242,9 @@  discard block
 block discarded – undo
242 242
     {
243 243
         $rules = parent::rules();
244 244
         $rules = array_merge($rules, [
245
-            [['dateline','printColumn','printEdition','printPage','printSection'], 'validateJsonSchema'],
246
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
247
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
245
+            [ [ 'dateline', 'printColumn', 'printEdition', 'printPage', 'printSection' ], 'validateJsonSchema' ],
246
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
247
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
248 248
         ]);
249 249
 
250 250
         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/Airport.php 2 patches
Spacing   +10 added lines, -10 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
     // =========================================================================
@@ -125,8 +125,8 @@  discard block
 block discarded – undo
125 125
      * @var array
126 126
      */
127 127
     static protected $_schemaPropertyExpectedTypes = [
128
-        'iataCode' => ['Text'],
129
-        'icaoCode' => ['Text']
128
+        'iataCode' => [ 'Text' ],
129
+        'icaoCode' => [ 'Text' ]
130 130
     ];
131 131
 
132 132
     /**
@@ -197,9 +197,9 @@  discard block
 block discarded – undo
197 197
     {
198 198
         $rules = parent::rules();
199 199
         $rules = array_merge($rules, [
200
-            [['iataCode','icaoCode'], 'validateJsonSchema'],
201
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
202
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
200
+            [ [ 'iataCode', 'icaoCode' ], 'validateJsonSchema' ],
201
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
202
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
203 203
         ]);
204 204
 
205 205
         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/ClaimReview.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
-        'claimReviewed' => ['Text']
121
+        'claimReviewed' => [ '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
-            [['claimReviewed'], '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
+            [ [ 'claimReviewed' ], '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/Airline.php 2 patches
Spacing   +10 added lines, -10 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
     // =========================================================================
@@ -126,8 +126,8 @@  discard block
 block discarded – undo
126 126
      * @var array
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129
-        'boardingPolicy' => ['BoardingPolicyType'],
130
-        'iataCode' => ['Text']
129
+        'boardingPolicy' => [ 'BoardingPolicyType' ],
130
+        'iataCode' => [ 'Text' ]
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
-            [['boardingPolicy','iataCode'], '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
+            [ [ 'boardingPolicy', 'iataCode' ], '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/AggregateRating.php 2 patches
Spacing   +11 added lines, -11 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
     // =========================================================================
@@ -133,9 +133,9 @@  discard block
 block discarded – undo
133 133
      * @var array
134 134
      */
135 135
     static protected $_schemaPropertyExpectedTypes = [
136
-        'itemReviewed' => ['Thing'],
137
-        'ratingCount' => ['Integer'],
138
-        'reviewCount' => ['Integer']
136
+        'itemReviewed' => [ 'Thing' ],
137
+        'ratingCount' => [ 'Integer' ],
138
+        'reviewCount' => [ 'Integer' ]
139 139
     ];
140 140
 
141 141
     /**
@@ -207,9 +207,9 @@  discard block
 block discarded – undo
207 207
     {
208 208
         $rules = parent::rules();
209 209
         $rules = array_merge($rules, [
210
-            [['itemReviewed','ratingCount','reviewCount'], 'validateJsonSchema'],
211
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
212
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
210
+            [ [ 'itemReviewed', 'ratingCount', 'reviewCount' ], 'validateJsonSchema' ],
211
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
212
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
213 213
         ]);
214 214
 
215 215
         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.