Passed
Push — develop ( 226eab...8c89fd )
by Andrew
10:33 queued 05:02
created
src/models/jsonld/APIReference.php 2 patches
Spacing   +12 added lines, -12 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
     // =========================================================================
@@ -142,10 +142,10 @@  discard block
 block discarded – undo
142 142
      * @var array
143 143
      */
144 144
     static protected $_schemaPropertyExpectedTypes = [
145
-        'assemblyVersion' => ['Text'],
146
-        'executableLibraryName' => ['Text'],
147
-        'programmingModel' => ['Text'],
148
-        'targetPlatform' => ['Text']
145
+        'assemblyVersion' => [ 'Text' ],
146
+        'executableLibraryName' => [ 'Text' ],
147
+        'programmingModel' => [ 'Text' ],
148
+        'targetPlatform' => [ 'Text' ]
149 149
     ];
150 150
 
151 151
     /**
@@ -218,9 +218,9 @@  discard block
 block discarded – undo
218 218
     {
219 219
         $rules = parent::rules();
220 220
         $rules = array_merge($rules, [
221
-            [['assemblyVersion','executableLibraryName','programmingModel','targetPlatform'], 'validateJsonSchema'],
222
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
223
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
221
+            [ [ 'assemblyVersion', 'executableLibraryName', 'programmingModel', 'targetPlatform' ], 'validateJsonSchema' ],
222
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
223
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
224 224
         ]);
225 225
 
226 226
         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/DeliveryChargeSpecification.php 2 patches
Spacing   +12 added lines, -12 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
     // =========================================================================
@@ -149,10 +149,10 @@  discard block
 block discarded – undo
149 149
      * @var array
150 150
      */
151 151
     static protected $_schemaPropertyExpectedTypes = [
152
-        'appliesToDeliveryMethod' => ['DeliveryMethod'],
153
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
154
-        'eligibleRegion' => ['GeoShape','Place','Text'],
155
-        'ineligibleRegion' => ['GeoShape','Place','Text']
152
+        'appliesToDeliveryMethod' => [ 'DeliveryMethod' ],
153
+        'areaServed' => [ 'AdministrativeArea', 'GeoShape', 'Place', 'Text' ],
154
+        'eligibleRegion' => [ 'GeoShape', 'Place', 'Text' ],
155
+        'ineligibleRegion' => [ 'GeoShape', 'Place', 'Text' ]
156 156
     ];
157 157
 
158 158
     /**
@@ -225,9 +225,9 @@  discard block
 block discarded – undo
225 225
     {
226 226
         $rules = parent::rules();
227 227
         $rules = array_merge($rules, [
228
-            [['appliesToDeliveryMethod','areaServed','eligibleRegion','ineligibleRegion'], 'validateJsonSchema'],
229
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
230
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
228
+            [ [ 'appliesToDeliveryMethod', 'areaServed', 'eligibleRegion', 'ineligibleRegion' ], 'validateJsonSchema' ],
229
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
230
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
231 231
         ]);
232 232
 
233 233
         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/ReviewAction.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
-        'resultReview' => ['Review']
123
+        'resultReview' => [ 'Review' ]
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
-            [['resultReview'], '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
+            [ [ 'resultReview' ], '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/TaxiReservation.php 2 patches
Spacing   +11 added lines, -11 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
     // =========================================================================
@@ -136,9 +136,9 @@  discard block
 block discarded – undo
136 136
      * @var array
137 137
      */
138 138
     static protected $_schemaPropertyExpectedTypes = [
139
-        'partySize' => ['Integer','QuantitativeValue'],
140
-        'pickupLocation' => ['Place'],
141
-        'pickupTime' => ['DateTime']
139
+        'partySize' => [ 'Integer', 'QuantitativeValue' ],
140
+        'pickupLocation' => [ 'Place' ],
141
+        'pickupTime' => [ 'DateTime' ]
142 142
     ];
143 143
 
144 144
     /**
@@ -210,9 +210,9 @@  discard block
 block discarded – undo
210 210
     {
211 211
         $rules = parent::rules();
212 212
         $rules = array_merge($rules, [
213
-            [['partySize','pickupLocation','pickupTime'], 'validateJsonSchema'],
214
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
215
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
213
+            [ [ 'partySize', 'pickupLocation', 'pickupTime' ], 'validateJsonSchema' ],
214
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
215
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
216 216
         ]);
217 217
 
218 218
         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/MobileApplication.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
-        'carrierRequirements' => ['Text']
122
+        'carrierRequirements' => [ 'Text' ]
123 123
     ];
124 124
 
125 125
     /**
@@ -189,9 +189,9 @@  discard block
 block discarded – undo
189 189
     {
190 190
         $rules = parent::rules();
191 191
         $rules = array_merge($rules, [
192
-            [['carrierRequirements'], '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
+            [ [ 'carrierRequirements' ], 'validateJsonSchema' ],
193
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
194
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
195 195
         ]);
196 196
 
197 197
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/Role.php 2 patches
Spacing   +11 added lines, -11 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
     // =========================================================================
@@ -142,9 +142,9 @@  discard block
 block discarded – undo
142 142
      * @var array
143 143
      */
144 144
     static protected $_schemaPropertyExpectedTypes = [
145
-        'endDate' => ['Date','DateTime'],
146
-        'roleName' => ['Text','URL'],
147
-        'startDate' => ['Date','DateTime']
145
+        'endDate' => [ 'Date', 'DateTime' ],
146
+        'roleName' => [ 'Text', 'URL' ],
147
+        'startDate' => [ 'Date', 'DateTime' ]
148 148
     ];
149 149
 
150 150
     /**
@@ -216,9 +216,9 @@  discard block
 block discarded – undo
216 216
     {
217 217
         $rules = parent::rules();
218 218
         $rules = array_merge($rules, [
219
-            [['endDate','roleName','startDate'], 'validateJsonSchema'],
220
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
221
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
219
+            [ [ 'endDate', 'roleName', 'startDate' ], 'validateJsonSchema' ],
220
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
221
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
222 222
         ]);
223 223
 
224 224
         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/MusicVideoObject.php 2 patches
Spacing   +23 added lines, -23 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
     // =========================================================================
@@ -236,21 +236,21 @@  discard block
 block discarded – undo
236 236
      * @var array
237 237
      */
238 238
     static protected $_schemaPropertyExpectedTypes = [
239
-        'associatedArticle' => ['NewsArticle'],
240
-        'bitrate' => ['Text'],
241
-        'contentSize' => ['Text'],
242
-        'contentUrl' => ['URL'],
243
-        'duration' => ['Duration'],
244
-        'embedUrl' => ['URL'],
245
-        'encodesCreativeWork' => ['CreativeWork'],
246
-        'encodingFormat' => ['Text'],
247
-        'height' => ['Distance','QuantitativeValue'],
248
-        'playerType' => ['Text'],
249
-        'productionCompany' => ['Organization'],
250
-        'regionsAllowed' => ['Place'],
251
-        'requiresSubscription' => ['Boolean'],
252
-        'uploadDate' => ['Date'],
253
-        'width' => ['Distance','QuantitativeValue']
239
+        'associatedArticle' => [ 'NewsArticle' ],
240
+        'bitrate' => [ 'Text' ],
241
+        'contentSize' => [ 'Text' ],
242
+        'contentUrl' => [ 'URL' ],
243
+        'duration' => [ 'Duration' ],
244
+        'embedUrl' => [ 'URL' ],
245
+        'encodesCreativeWork' => [ 'CreativeWork' ],
246
+        'encodingFormat' => [ 'Text' ],
247
+        'height' => [ 'Distance', 'QuantitativeValue' ],
248
+        'playerType' => [ 'Text' ],
249
+        'productionCompany' => [ 'Organization' ],
250
+        'regionsAllowed' => [ 'Place' ],
251
+        'requiresSubscription' => [ 'Boolean' ],
252
+        'uploadDate' => [ 'Date' ],
253
+        'width' => [ 'Distance', 'QuantitativeValue' ]
254 254
     ];
255 255
 
256 256
     /**
@@ -334,9 +334,9 @@  discard block
 block discarded – undo
334 334
     {
335 335
         $rules = parent::rules();
336 336
         $rules = array_merge($rules, [
337
-            [['associatedArticle','bitrate','contentSize','contentUrl','duration','embedUrl','encodesCreativeWork','encodingFormat','height','playerType','productionCompany','regionsAllowed','requiresSubscription','uploadDate','width'], 'validateJsonSchema'],
338
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
339
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
337
+            [ [ 'associatedArticle', 'bitrate', 'contentSize', 'contentUrl', 'duration', 'embedUrl', 'encodesCreativeWork', 'encodingFormat', 'height', 'playerType', 'productionCompany', 'regionsAllowed', 'requiresSubscription', 'uploadDate', 'width' ], 'validateJsonSchema' ],
338
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
339
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
340 340
         ]);
341 341
 
342 342
         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/MusicPlaylist.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
-        'numTracks' => ['Integer'],
130
-        'track' => ['ItemList','MusicRecording']
129
+        'numTracks' => [ 'Integer' ],
130
+        'track' => [ 'ItemList', 'MusicRecording' ]
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
-            [['numTracks','track'], '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
+            [ [ 'numTracks', 'track' ], '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/OfferCatalog.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
     // =========================================================================
@@ -144,9 +144,9 @@  discard block
 block discarded – undo
144 144
      * @var array
145 145
      */
146 146
     static protected $_schemaPropertyExpectedTypes = [
147
-        'itemListElement' => ['ListItem','Text','Thing'],
148
-        'itemListOrder' => ['ItemListOrderType','Text'],
149
-        'numberOfItems' => ['Integer']
147
+        'itemListElement' => [ 'ListItem', 'Text', 'Thing' ],
148
+        'itemListOrder' => [ 'ItemListOrderType', 'Text' ],
149
+        'numberOfItems' => [ 'Integer' ]
150 150
     ];
151 151
 
152 152
     /**
@@ -218,9 +218,9 @@  discard block
 block discarded – undo
218 218
     {
219 219
         $rules = parent::rules();
220 220
         $rules = array_merge($rules, [
221
-            [['itemListElement','itemListOrder','numberOfItems'], 'validateJsonSchema'],
222
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
223
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
221
+            [ [ 'itemListElement', 'itemListOrder', 'numberOfItems' ], 'validateJsonSchema' ],
222
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
223
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
224 224
         ]);
225 225
 
226 226
         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.