Passed
Push — develop ( 226eab...8c89fd )
by Andrew
10:33 queued 05:02
created
src/models/jsonld/AutoDealer.php 2 patches
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.
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.
src/models/jsonld/CheckAction.php 2 patches
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.
Spacing   +19 added lines, -19 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
     // =========================================================================
@@ -214,17 +214,17 @@  discard block
 block discarded – undo
214 214
      * @var array
215 215
      */
216 216
     static protected $_schemaPropertyExpectedTypes = [
217
-        'actionStatus' => ['ActionStatusType'],
218
-        'agent' => ['Organization','Person'],
219
-        'endTime' => ['DateTime'],
220
-        'error' => ['Thing'],
221
-        'instrument' => ['Thing'],
222
-        'location' => ['Place','PostalAddress','Text'],
223
-        'object' => ['Thing'],
224
-        'participant' => ['Organization','Person'],
225
-        'result' => ['Thing'],
226
-        'startTime' => ['DateTime'],
227
-        'target' => ['EntryPoint']
217
+        'actionStatus' => [ 'ActionStatusType' ],
218
+        'agent' => [ 'Organization', 'Person' ],
219
+        'endTime' => [ 'DateTime' ],
220
+        'error' => [ 'Thing' ],
221
+        'instrument' => [ 'Thing' ],
222
+        'location' => [ 'Place', 'PostalAddress', 'Text' ],
223
+        'object' => [ 'Thing' ],
224
+        'participant' => [ 'Organization', 'Person' ],
225
+        'result' => [ 'Thing' ],
226
+        'startTime' => [ 'DateTime' ],
227
+        'target' => [ 'EntryPoint' ]
228 228
     ];
229 229
 
230 230
     /**
@@ -304,9 +304,9 @@  discard block
 block discarded – undo
304 304
     {
305 305
         $rules = parent::rules();
306 306
         $rules = array_merge($rules, [
307
-            [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'],
308
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
309
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
307
+            [ [ 'actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target' ], 'validateJsonSchema' ],
308
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
309
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
310 310
         ]);
311 311
 
312 312
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/LiquorStore.php 2 patches
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.
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.
src/models/jsonld/FoodEstablishment.php 2 patches
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.
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
     // =========================================================================
@@ -147,10 +147,10 @@  discard block
 block discarded – undo
147 147
      * @var array
148 148
      */
149 149
     static protected $_schemaPropertyExpectedTypes = [
150
-        'acceptsReservations' => ['Boolean','Text','URL'],
151
-        'hasMenu' => ['Menu','Text','URL'],
152
-        'servesCuisine' => ['Text'],
153
-        'starRating' => ['Rating']
150
+        'acceptsReservations' => [ 'Boolean', 'Text', 'URL' ],
151
+        'hasMenu' => [ 'Menu', 'Text', 'URL' ],
152
+        'servesCuisine' => [ 'Text' ],
153
+        'starRating' => [ 'Rating' ]
154 154
     ];
155 155
 
156 156
     /**
@@ -223,9 +223,9 @@  discard block
 block discarded – undo
223 223
     {
224 224
         $rules = parent::rules();
225 225
         $rules = array_merge($rules, [
226
-            [['acceptsReservations','hasMenu','servesCuisine','starRating'], 'validateJsonSchema'],
227
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
228
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
226
+            [ [ 'acceptsReservations', 'hasMenu', 'servesCuisine', 'starRating' ], 'validateJsonSchema' ],
227
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
228
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
229 229
         ]);
230 230
 
231 231
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/RadioStation.php 2 patches
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.
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.
src/models/jsonld/InvestmentOrDeposit.php 2 patches
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.
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
-        'amount' => ['MonetaryAmount','Number']
121
+        'amount' => [ 'MonetaryAmount', 'Number' ]
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
-            [['amount'], '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
+            [ [ 'amount' ], '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/TheaterEvent.php 2 patches
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.
Spacing   +40 added lines, -40 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
     // =========================================================================
@@ -398,38 +398,38 @@  discard block
 block discarded – undo
398 398
      * @var array
399 399
      */
400 400
     static protected $_schemaPropertyExpectedTypes = [
401
-        'about' => ['Thing'],
402
-        'actor' => ['Person'],
403
-        'aggregateRating' => ['AggregateRating'],
404
-        'attendee' => ['Organization','Person'],
405
-        'audience' => ['Audience'],
406
-        'composer' => ['Organization','Person'],
407
-        'contributor' => ['Organization','Person'],
408
-        'director' => ['Person'],
409
-        'doorTime' => ['DateTime'],
410
-        'duration' => ['Duration'],
411
-        'endDate' => ['Date','DateTime'],
412
-        'eventStatus' => ['EventStatusType'],
413
-        'funder' => ['Organization','Person'],
414
-        'inLanguage' => ['Language','Text'],
415
-        'isAccessibleForFree' => ['Boolean'],
416
-        'location' => ['Place','PostalAddress','Text'],
417
-        'maximumAttendeeCapacity' => ['Integer'],
418
-        'offers' => ['Offer'],
419
-        'organizer' => ['Organization','Person'],
420
-        'performer' => ['Organization','Person'],
421
-        'previousStartDate' => ['Date'],
422
-        'recordedIn' => ['CreativeWork'],
423
-        'remainingAttendeeCapacity' => ['Integer'],
424
-        'review' => ['Review'],
425
-        'sponsor' => ['Organization','Person'],
426
-        'startDate' => ['Date','DateTime'],
427
-        'subEvent' => ['Event'],
428
-        'superEvent' => ['Event'],
429
-        'translator' => ['Organization','Person'],
430
-        'typicalAgeRange' => ['Text'],
431
-        'workFeatured' => ['CreativeWork'],
432
-        'workPerformed' => ['CreativeWork']
401
+        'about' => [ 'Thing' ],
402
+        'actor' => [ 'Person' ],
403
+        'aggregateRating' => [ 'AggregateRating' ],
404
+        'attendee' => [ 'Organization', 'Person' ],
405
+        'audience' => [ 'Audience' ],
406
+        'composer' => [ 'Organization', 'Person' ],
407
+        'contributor' => [ 'Organization', 'Person' ],
408
+        'director' => [ 'Person' ],
409
+        'doorTime' => [ 'DateTime' ],
410
+        'duration' => [ 'Duration' ],
411
+        'endDate' => [ 'Date', 'DateTime' ],
412
+        'eventStatus' => [ 'EventStatusType' ],
413
+        'funder' => [ 'Organization', 'Person' ],
414
+        'inLanguage' => [ 'Language', 'Text' ],
415
+        'isAccessibleForFree' => [ 'Boolean' ],
416
+        'location' => [ 'Place', 'PostalAddress', 'Text' ],
417
+        'maximumAttendeeCapacity' => [ 'Integer' ],
418
+        'offers' => [ 'Offer' ],
419
+        'organizer' => [ 'Organization', 'Person' ],
420
+        'performer' => [ 'Organization', 'Person' ],
421
+        'previousStartDate' => [ 'Date' ],
422
+        'recordedIn' => [ 'CreativeWork' ],
423
+        'remainingAttendeeCapacity' => [ 'Integer' ],
424
+        'review' => [ 'Review' ],
425
+        'sponsor' => [ 'Organization', 'Person' ],
426
+        'startDate' => [ 'Date', 'DateTime' ],
427
+        'subEvent' => [ 'Event' ],
428
+        'superEvent' => [ 'Event' ],
429
+        'translator' => [ 'Organization', 'Person' ],
430
+        'typicalAgeRange' => [ 'Text' ],
431
+        'workFeatured' => [ 'CreativeWork' ],
432
+        'workPerformed' => [ 'CreativeWork' ]
433 433
     ];
434 434
 
435 435
     /**
@@ -530,9 +530,9 @@  discard block
 block discarded – undo
530 530
     {
531 531
         $rules = parent::rules();
532 532
         $rules = array_merge($rules, [
533
-            [['about','actor','aggregateRating','attendee','audience','composer','contributor','director','doorTime','duration','endDate','eventStatus','funder','inLanguage','isAccessibleForFree','location','maximumAttendeeCapacity','offers','organizer','performer','previousStartDate','recordedIn','remainingAttendeeCapacity','review','sponsor','startDate','subEvent','superEvent','translator','typicalAgeRange','workFeatured','workPerformed'], 'validateJsonSchema'],
534
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
535
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
533
+            [ [ 'about', 'actor', 'aggregateRating', 'attendee', 'audience', 'composer', 'contributor', 'director', 'doorTime', 'duration', 'endDate', 'eventStatus', 'funder', 'inLanguage', 'isAccessibleForFree', 'location', 'maximumAttendeeCapacity', 'offers', 'organizer', 'performer', 'previousStartDate', 'recordedIn', 'remainingAttendeeCapacity', 'review', 'sponsor', 'startDate', 'subEvent', 'superEvent', 'translator', 'typicalAgeRange', 'workFeatured', 'workPerformed' ], 'validateJsonSchema' ],
534
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
535
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
536 536
         ]);
537 537
 
538 538
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/MovingCompany.php 2 patches
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.
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.
src/models/jsonld/NoteDigitalDocument.php 2 patches
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.
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
     // =========================================================================
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'hasDigitalDocumentPermission' => ['DigitalDocumentPermission']
122
+        'hasDigitalDocumentPermission' => [ 'DigitalDocumentPermission' ]
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
-            [['hasDigitalDocumentPermission'], '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
+            [ [ 'hasDigitalDocumentPermission' ], '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.