Passed
Branch develop (0eb5d9)
by Andrew
06:29
created
src/models/jsonld/TVSeason.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
-        'countryOfOrigin' => ['Country']
121
+        'countryOfOrigin' => [ 'Country' ]
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
-            [['countryOfOrigin'], '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
+            [ [ 'countryOfOrigin' ], '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/Game.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
     // =========================================================================
@@ -154,11 +154,11 @@  discard block
 block discarded – undo
154 154
      * @var array
155 155
      */
156 156
     static protected $_schemaPropertyExpectedTypes = [
157
-        'characterAttribute' => ['Thing'],
158
-        'gameItem' => ['Thing'],
159
-        'gameLocation' => ['Place','PostalAddress','URL'],
160
-        'numberOfPlayers' => ['QuantitativeValue'],
161
-        'quest' => ['Thing']
157
+        'characterAttribute' => [ 'Thing' ],
158
+        'gameItem' => [ 'Thing' ],
159
+        'gameLocation' => [ 'Place', 'PostalAddress', 'URL' ],
160
+        'numberOfPlayers' => [ 'QuantitativeValue' ],
161
+        'quest' => [ 'Thing' ]
162 162
     ];
163 163
 
164 164
     /**
@@ -232,9 +232,9 @@  discard block
 block discarded – undo
232 232
     {
233 233
         $rules = parent::rules();
234 234
         $rules = array_merge($rules, [
235
-            [['characterAttribute','gameItem','gameLocation','numberOfPlayers','quest'], 'validateJsonSchema'],
236
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
237
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
235
+            [ [ 'characterAttribute', 'gameItem', 'gameLocation', 'numberOfPlayers', 'quest' ], 'validateJsonSchema' ],
236
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
237
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
238 238
         ]);
239 239
 
240 240
         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/AutomatedTeller.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
-        'feesAndCommissionsSpecification' => ['Text','URL']
121
+        'feesAndCommissionsSpecification' => [ 'Text', 'URL' ]
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
-            [['feesAndCommissionsSpecification'], '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
+            [ [ 'feesAndCommissionsSpecification' ], '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/MusicRelease.php 2 patches
Spacing   +14 added lines, -14 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
     // =========================================================================
@@ -161,12 +161,12 @@  discard block
 block discarded – undo
161 161
      * @var array
162 162
      */
163 163
     static protected $_schemaPropertyExpectedTypes = [
164
-        'catalogNumber' => ['Text'],
165
-        'creditedTo' => ['Organization','Person'],
166
-        'duration' => ['Duration'],
167
-        'musicReleaseFormat' => ['MusicReleaseFormatType'],
168
-        'recordLabel' => ['Organization'],
169
-        'releaseOf' => ['MusicAlbum']
164
+        'catalogNumber' => [ 'Text' ],
165
+        'creditedTo' => [ 'Organization', 'Person' ],
166
+        'duration' => [ 'Duration' ],
167
+        'musicReleaseFormat' => [ 'MusicReleaseFormatType' ],
168
+        'recordLabel' => [ 'Organization' ],
169
+        'releaseOf' => [ 'MusicAlbum' ]
170 170
     ];
171 171
 
172 172
     /**
@@ -241,9 +241,9 @@  discard block
 block discarded – undo
241 241
     {
242 242
         $rules = parent::rules();
243 243
         $rules = array_merge($rules, [
244
-            [['catalogNumber','creditedTo','duration','musicReleaseFormat','recordLabel','releaseOf'], 'validateJsonSchema'],
245
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
246
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
244
+            [ [ 'catalogNumber', 'creditedTo', 'duration', 'musicReleaseFormat', 'recordLabel', 'releaseOf' ], 'validateJsonSchema' ],
245
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
246
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
247 247
         ]);
248 248
 
249 249
         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/ReplaceAction.php 2 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -60,35 +60,35 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @var array
62 62
      */
63
-    static public $schemaPropertyNames = [];
63
+    static public $schemaPropertyNames = [ ];
64 64
 
65 65
     /**
66 66
      * The Schema.org composed Property Expected Types
67 67
      *
68 68
      * @var array
69 69
      */
70
-    static public $schemaPropertyExpectedTypes = [];
70
+    static public $schemaPropertyExpectedTypes = [ ];
71 71
 
72 72
     /**
73 73
      * The Schema.org composed Property Descriptions
74 74
      *
75 75
      * @var array
76 76
      */
77
-    static public $schemaPropertyDescriptions = [];
77
+    static public $schemaPropertyDescriptions = [ ];
78 78
 
79 79
     /**
80 80
      * The Schema.org composed Google Required Schema for this type
81 81
      *
82 82
      * @var array
83 83
      */
84
-    static public $googleRequiredSchema = [];
84
+    static public $googleRequiredSchema = [ ];
85 85
 
86 86
     /**
87 87
      * The Schema.org composed Google Recommended Schema for this type
88 88
      *
89 89
      * @var array
90 90
      */
91
-    static public $googleRecommendedSchema = [];
91
+    static public $googleRecommendedSchema = [ ];
92 92
 
93 93
     // Public Properties
94 94
     // =========================================================================
@@ -126,8 +126,8 @@  discard block
 block discarded – undo
126 126
      * @var array
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129
-        'replacee' => ['Thing'],
130
-        'replacer' => ['Thing']
129
+        'replacee' => [ 'Thing' ],
130
+        'replacer' => [ 'Thing' ]
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
-            [['replacee','replacer'], '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
+            [ [ 'replacee', 'replacer' ], '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/QuoteAction.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
     // =========================================================================
@@ -136,8 +136,8 @@  discard block
 block discarded – undo
136 136
      * @var array
137 137
      */
138 138
     static protected $_schemaPropertyExpectedTypes = [
139
-        'price' => ['Number','Text'],
140
-        'priceSpecification' => ['PriceSpecification']
139
+        'price' => [ 'Number', 'Text' ],
140
+        'priceSpecification' => [ 'PriceSpecification' ]
141 141
     ];
142 142
 
143 143
     /**
@@ -208,9 +208,9 @@  discard block
 block discarded – undo
208 208
     {
209 209
         $rules = parent::rules();
210 210
         $rules = array_merge($rules, [
211
-            [['price','priceSpecification'], 'validateJsonSchema'],
212
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
213
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
211
+            [ [ 'price', 'priceSpecification' ], 'validateJsonSchema' ],
212
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
213
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
214 214
         ]);
215 215
 
216 216
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/CreditCard.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -67,35 +67,35 @@  discard block
 block discarded – undo
67 67
      *
68 68
      * @var array
69 69
      */
70
-    static public $schemaPropertyNames = [];
70
+    static public $schemaPropertyNames = [ ];
71 71
 
72 72
     /**
73 73
      * The Schema.org composed Property Expected Types
74 74
      *
75 75
      * @var array
76 76
      */
77
-    static public $schemaPropertyExpectedTypes = [];
77
+    static public $schemaPropertyExpectedTypes = [ ];
78 78
 
79 79
     /**
80 80
      * The Schema.org composed Property Descriptions
81 81
      *
82 82
      * @var array
83 83
      */
84
-    static public $schemaPropertyDescriptions = [];
84
+    static public $schemaPropertyDescriptions = [ ];
85 85
 
86 86
     /**
87 87
      * The Schema.org composed Google Required Schema for this type
88 88
      *
89 89
      * @var array
90 90
      */
91
-    static public $googleRequiredSchema = [];
91
+    static public $googleRequiredSchema = [ ];
92 92
 
93 93
     /**
94 94
      * The Schema.org composed Google Recommended Schema for this type
95 95
      *
96 96
      * @var array
97 97
      */
98
-    static public $googleRecommendedSchema = [];
98
+    static public $googleRecommendedSchema = [ ];
99 99
 
100 100
     // Public Properties
101 101
     // =========================================================================
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * @var array
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129
-        'monthlyMinimumRepaymentAmount' => ['MonetaryAmount','Number']
129
+        'monthlyMinimumRepaymentAmount' => [ 'MonetaryAmount', 'Number' ]
130 130
     ];
131 131
 
132 132
     /**
@@ -196,9 +196,9 @@  discard block
 block discarded – undo
196 196
     {
197 197
         $rules = parent::rules();
198 198
         $rules = array_merge($rules, [
199
-            [['monthlyMinimumRepaymentAmount'], 'validateJsonSchema'],
200
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
201
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
199
+            [ [ 'monthlyMinimumRepaymentAmount' ], 'validateJsonSchema' ],
200
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
201
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
202 202
         ]);
203 203
 
204 204
         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/BroadcastService.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
     // =========================================================================
@@ -180,14 +180,14 @@  discard block
 block discarded – undo
180 180
      * @var array
181 181
      */
182 182
     static protected $_schemaPropertyExpectedTypes = [
183
-        'broadcastAffiliateOf' => ['Organization'],
184
-        'broadcastDisplayName' => ['Text'],
185
-        'broadcastFrequency' => ['BroadcastFrequencySpecification','Text'],
186
-        'broadcastTimezone' => ['Text'],
187
-        'broadcaster' => ['Organization'],
188
-        'hasBroadcastChannel' => ['BroadcastChannel'],
189
-        'parentService' => ['BroadcastService'],
190
-        'videoFormat' => ['Text']
183
+        'broadcastAffiliateOf' => [ 'Organization' ],
184
+        'broadcastDisplayName' => [ 'Text' ],
185
+        'broadcastFrequency' => [ 'BroadcastFrequencySpecification', 'Text' ],
186
+        'broadcastTimezone' => [ 'Text' ],
187
+        'broadcaster' => [ 'Organization' ],
188
+        'hasBroadcastChannel' => [ 'BroadcastChannel' ],
189
+        'parentService' => [ 'BroadcastService' ],
190
+        'videoFormat' => [ 'Text' ]
191 191
     ];
192 192
 
193 193
     /**
@@ -264,9 +264,9 @@  discard block
 block discarded – undo
264 264
     {
265 265
         $rules = parent::rules();
266 266
         $rules = array_merge($rules, [
267
-            [['broadcastAffiliateOf','broadcastDisplayName','broadcastFrequency','broadcastTimezone','broadcaster','hasBroadcastChannel','parentService','videoFormat'], 'validateJsonSchema'],
268
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
269
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
267
+            [ [ 'broadcastAffiliateOf', 'broadcastDisplayName', 'broadcastFrequency', 'broadcastTimezone', 'broadcaster', 'hasBroadcastChannel', 'parentService', 'videoFormat' ], 'validateJsonSchema' ],
268
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
269
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
270 270
         ]);
271 271
 
272 272
         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/MusicAlbum.php 2 patches
Spacing   +12 added lines, -12 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
     // =========================================================================
@@ -142,10 +142,10 @@  discard block
 block discarded – undo
142 142
      * @var array
143 143
      */
144 144
     static protected $_schemaPropertyExpectedTypes = [
145
-        'albumProductionType' => ['MusicAlbumProductionType'],
146
-        'albumRelease' => ['MusicRelease'],
147
-        'albumReleaseType' => ['MusicAlbumReleaseType'],
148
-        'byArtist' => ['MusicGroup']
145
+        'albumProductionType' => [ 'MusicAlbumProductionType' ],
146
+        'albumRelease' => [ 'MusicRelease' ],
147
+        'albumReleaseType' => [ 'MusicAlbumReleaseType' ],
148
+        'byArtist' => [ 'MusicGroup' ]
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
-            [['albumProductionType','albumRelease','albumReleaseType','byArtist'], '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
+            [ [ 'albumProductionType', 'albumRelease', 'albumReleaseType', 'byArtist' ], '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.