Passed
Branch v3 (ce9cae)
by Andrew
08:41
created
src/models/jsonld/DigitalDocumentPermission.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -160,8 +160,8 @@  discard block
 block discarded – undo
160 160
     // =========================================================================
161 161
 
162 162
     /**
163
-    * @inheritdoc
164
-    */
163
+     * @inheritdoc
164
+     */
165 165
     public function init()
166 166
     {
167 167
         parent::init();
@@ -192,8 +192,8 @@  discard block
 block discarded – undo
192 192
     }
193 193
 
194 194
     /**
195
-    * @inheritdoc
196
-    */
195
+     * @inheritdoc
196
+     */
197 197
     public function rules()
198 198
     {
199 199
         $rules = parent::rules();
Please login to merge, or discard this patch.
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
-        'grantee' => ['Audience','ContactPoint','Organization','Person'],
130
-        'permissionType' => ['DigitalDocumentPermissionType']
129
+        'grantee' => [ 'Audience', 'ContactPoint', 'Organization', 'Person' ],
130
+        'permissionType' => [ 'DigitalDocumentPermissionType' ]
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
-            [['grantee','permissionType'], '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
+            [ [ 'grantee', 'permissionType' ], '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.
src/models/jsonld/Playground.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -158,8 +158,8 @@  discard block
 block discarded – undo
158 158
     // =========================================================================
159 159
 
160 160
     /**
161
-    * @inheritdoc
162
-    */
161
+     * @inheritdoc
162
+     */
163 163
     public function init()
164 164
     {
165 165
         parent::init();
@@ -190,8 +190,8 @@  discard block
 block discarded – undo
190 190
     }
191 191
 
192 192
     /**
193
-    * @inheritdoc
194
-    */
193
+     * @inheritdoc
194
+     */
195 195
     public function rules()
196 196
     {
197 197
         $rules = parent::rules();
Please login to merge, or discard this patch.
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
     // =========================================================================
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * @var array
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129
-        'openingHours' => ['Text']
129
+        'openingHours' => [ 'Text' ]
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
-            [['openingHours'], '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
+            [ [ 'openingHours' ], '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.
src/models/jsonld/Permit.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -209,8 +209,8 @@  discard block
 block discarded – undo
209 209
     // =========================================================================
210 210
 
211 211
     /**
212
-    * @inheritdoc
213
-    */
212
+     * @inheritdoc
213
+     */
214 214
     public function init()
215 215
     {
216 216
         parent::init();
@@ -241,8 +241,8 @@  discard block
 block discarded – undo
241 241
     }
242 242
 
243 243
     /**
244
-    * @inheritdoc
245
-    */
244
+     * @inheritdoc
245
+     */
246 246
     public function rules()
247 247
     {
248 248
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 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
     // =========================================================================
@@ -165,13 +165,13 @@  discard block
 block discarded – undo
165 165
      * @var array
166 166
      */
167 167
     static protected $_schemaPropertyExpectedTypes = [
168
-        'issuedBy' => ['Organization'],
169
-        'issuedThrough' => ['Service'],
170
-        'permitAudience' => ['Audience'],
171
-        'validFor' => ['Duration'],
172
-        'validFrom' => ['DateTime'],
173
-        'validIn' => ['AdministrativeArea'],
174
-        'validUntil' => ['Date']
168
+        'issuedBy' => [ 'Organization' ],
169
+        'issuedThrough' => [ 'Service' ],
170
+        'permitAudience' => [ 'Audience' ],
171
+        'validFor' => [ 'Duration' ],
172
+        'validFrom' => [ 'DateTime' ],
173
+        'validIn' => [ 'AdministrativeArea' ],
174
+        'validUntil' => [ 'Date' ]
175 175
     ];
176 176
 
177 177
     /**
@@ -247,9 +247,9 @@  discard block
 block discarded – undo
247 247
     {
248 248
         $rules = parent::rules();
249 249
         $rules = array_merge($rules, [
250
-            [['issuedBy','issuedThrough','permitAudience','validFor','validFrom','validIn','validUntil'], 'validateJsonSchema'],
251
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
252
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
250
+            [ [ 'issuedBy', 'issuedThrough', 'permitAudience', 'validFor', 'validFrom', 'validIn', 'validUntil' ], 'validateJsonSchema' ],
251
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
252
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
253 253
         ]);
254 254
 
255 255
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/DownloadAction.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -161,8 +161,8 @@  discard block
 block discarded – undo
161 161
     // =========================================================================
162 162
 
163 163
     /**
164
-    * @inheritdoc
165
-    */
164
+     * @inheritdoc
165
+     */
166 166
     public function init()
167 167
     {
168 168
         parent::init();
@@ -193,8 +193,8 @@  discard block
 block discarded – undo
193 193
     }
194 194
 
195 195
     /**
196
-    * @inheritdoc
197
-    */
196
+     * @inheritdoc
197
+     */
198 198
     public function rules()
199 199
     {
200 200
         $rules = parent::rules();
Please login to merge, or discard this patch.
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
     // =========================================================================
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
      * @var array
128 128
      */
129 129
     static protected $_schemaPropertyExpectedTypes = [
130
-        'fromLocation' => ['Place'],
131
-        'toLocation' => ['Place']
130
+        'fromLocation' => [ 'Place' ],
131
+        'toLocation' => [ 'Place' ]
132 132
     ];
133 133
 
134 134
     /**
@@ -199,9 +199,9 @@  discard block
 block discarded – undo
199 199
     {
200 200
         $rules = parent::rules();
201 201
         $rules = array_merge($rules, [
202
-            [['fromLocation','toLocation'], 'validateJsonSchema'],
203
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
204
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
202
+            [ [ 'fromLocation', 'toLocation' ], 'validateJsonSchema' ],
203
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
204
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
205 205
         ]);
206 206
 
207 207
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/CollegeOrUniversity.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -150,8 +150,8 @@  discard block
 block discarded – undo
150 150
     // =========================================================================
151 151
 
152 152
     /**
153
-    * @inheritdoc
154
-    */
153
+     * @inheritdoc
154
+     */
155 155
     public function init()
156 156
     {
157 157
         parent::init();
@@ -182,8 +182,8 @@  discard block
 block discarded – undo
182 182
     }
183 183
 
184 184
     /**
185
-    * @inheritdoc
186
-    */
185
+     * @inheritdoc
186
+     */
187 187
     public function rules()
188 188
     {
189 189
         $rules = parent::rules();
Please login to merge, or discard this patch.
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
-        'alumni' => ['Person']
121
+        'alumni' => [ 'Person' ]
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
-            [['alumni'], '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
+            [ [ 'alumni' ], '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.
src/models/jsonld/BankAccount.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -172,8 +172,8 @@  discard block
 block discarded – undo
172 172
     // =========================================================================
173 173
 
174 174
     /**
175
-    * @inheritdoc
176
-    */
175
+     * @inheritdoc
176
+     */
177 177
     public function init()
178 178
     {
179 179
         parent::init();
@@ -204,8 +204,8 @@  discard block
 block discarded – undo
204 204
     }
205 205
 
206 206
     /**
207
-    * @inheritdoc
208
-    */
207
+     * @inheritdoc
208
+     */
209 209
     public function rules()
210 210
     {
211 211
         $rules = parent::rules();
Please login to merge, or discard this patch.
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
     // =========================================================================
@@ -136,9 +136,9 @@  discard block
 block discarded – undo
136 136
      * @var array
137 137
      */
138 138
     static protected $_schemaPropertyExpectedTypes = [
139
-        'accountMinimumInflow' => ['MonetaryAmount'],
140
-        'accountOverdraftLimit' => ['MonetaryAmount'],
141
-        'bankAccountType' => ['Text','URL']
139
+        'accountMinimumInflow' => [ 'MonetaryAmount' ],
140
+        'accountOverdraftLimit' => [ 'MonetaryAmount' ],
141
+        'bankAccountType' => [ 'Text', 'URL' ]
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
-            [['accountMinimumInflow','accountOverdraftLimit','bankAccountType'], '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
+            [ [ 'accountMinimumInflow', 'accountOverdraftLimit', 'bankAccountType' ], '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.
src/models/jsonld/HVACBusiness.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -189,8 +189,8 @@  discard block
 block discarded – undo
189 189
     // =========================================================================
190 190
 
191 191
     /**
192
-    * @inheritdoc
193
-    */
192
+     * @inheritdoc
193
+     */
194 194
     public function init()
195 195
     {
196 196
         parent::init();
@@ -221,8 +221,8 @@  discard block
 block discarded – undo
221 221
     }
222 222
 
223 223
     /**
224
-    * @inheritdoc
225
-    */
224
+     * @inheritdoc
225
+     */
226 226
     public function rules()
227 227
     {
228 228
         $rules = parent::rules();
Please login to merge, or discard this patch.
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
     // =========================================================================
@@ -151,10 +151,10 @@  discard block
 block discarded – undo
151 151
      * @var array
152 152
      */
153 153
     static protected $_schemaPropertyExpectedTypes = [
154
-        'currenciesAccepted' => ['Text'],
155
-        'openingHours' => ['Text'],
156
-        'paymentAccepted' => ['Text'],
157
-        'priceRange' => ['Text']
154
+        'currenciesAccepted' => [ 'Text' ],
155
+        'openingHours' => [ 'Text' ],
156
+        'paymentAccepted' => [ 'Text' ],
157
+        'priceRange' => [ 'Text' ]
158 158
     ];
159 159
 
160 160
     /**
@@ -227,9 +227,9 @@  discard block
 block discarded – undo
227 227
     {
228 228
         $rules = parent::rules();
229 229
         $rules = array_merge($rules, [
230
-            [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'],
231
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
232
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
230
+            [ [ 'currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange' ], 'validateJsonSchema' ],
231
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
232
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
233 233
         ]);
234 234
 
235 235
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/Church.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -158,8 +158,8 @@  discard block
 block discarded – undo
158 158
     // =========================================================================
159 159
 
160 160
     /**
161
-    * @inheritdoc
162
-    */
161
+     * @inheritdoc
162
+     */
163 163
     public function init()
164 164
     {
165 165
         parent::init();
@@ -190,8 +190,8 @@  discard block
 block discarded – undo
190 190
     }
191 191
 
192 192
     /**
193
-    * @inheritdoc
194
-    */
193
+     * @inheritdoc
194
+     */
195 195
     public function rules()
196 196
     {
197 197
         $rules = parent::rules();
Please login to merge, or discard this patch.
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
     // =========================================================================
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * @var array
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129
-        'openingHours' => ['Text']
129
+        'openingHours' => [ 'Text' ]
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
-            [['openingHours'], '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
+            [ [ 'openingHours' ], '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.
src/models/jsonld/TireShop.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -188,8 +188,8 @@  discard block
 block discarded – undo
188 188
     // =========================================================================
189 189
 
190 190
     /**
191
-    * @inheritdoc
192
-    */
191
+     * @inheritdoc
192
+     */
193 193
     public function init()
194 194
     {
195 195
         parent::init();
@@ -220,8 +220,8 @@  discard block
 block discarded – undo
220 220
     }
221 221
 
222 222
     /**
223
-    * @inheritdoc
224
-    */
223
+     * @inheritdoc
224
+     */
225 225
     public function rules()
226 226
     {
227 227
         $rules = parent::rules();
Please login to merge, or discard this patch.
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
     // =========================================================================
@@ -150,10 +150,10 @@  discard block
 block discarded – undo
150 150
      * @var array
151 151
      */
152 152
     static protected $_schemaPropertyExpectedTypes = [
153
-        'currenciesAccepted' => ['Text'],
154
-        'openingHours' => ['Text'],
155
-        'paymentAccepted' => ['Text'],
156
-        'priceRange' => ['Text']
153
+        'currenciesAccepted' => [ 'Text' ],
154
+        'openingHours' => [ 'Text' ],
155
+        'paymentAccepted' => [ 'Text' ],
156
+        'priceRange' => [ 'Text' ]
157 157
     ];
158 158
 
159 159
     /**
@@ -226,9 +226,9 @@  discard block
 block discarded – undo
226 226
     {
227 227
         $rules = parent::rules();
228 228
         $rules = array_merge($rules, [
229
-            [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'],
230
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
231
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
229
+            [ [ 'currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange' ], 'validateJsonSchema' ],
230
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
231
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
232 232
         ]);
233 233
 
234 234
         return $rules;
Please login to merge, or discard this patch.