Passed
Push — develop ( 226eab...8c89fd )
by Andrew
10:33 queued 05:02
created
src/models/jsonld/RentalCarReservation.php 2 patches
Spacing   +12 added lines, -12 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
     // =========================================================================
@@ -143,10 +143,10 @@  discard block
 block discarded – undo
143 143
      * @var array
144 144
      */
145 145
     static protected $_schemaPropertyExpectedTypes = [
146
-        'dropoffLocation' => ['Place'],
147
-        'dropoffTime' => ['DateTime'],
148
-        'pickupLocation' => ['Place'],
149
-        'pickupTime' => ['DateTime']
146
+        'dropoffLocation' => [ 'Place' ],
147
+        'dropoffTime' => [ 'DateTime' ],
148
+        'pickupLocation' => [ 'Place' ],
149
+        'pickupTime' => [ 'DateTime' ]
150 150
     ];
151 151
 
152 152
     /**
@@ -219,9 +219,9 @@  discard block
 block discarded – undo
219 219
     {
220 220
         $rules = parent::rules();
221 221
         $rules = array_merge($rules, [
222
-            [['dropoffLocation','dropoffTime','pickupLocation','pickupTime'], 'validateJsonSchema'],
223
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
224
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
222
+            [ [ 'dropoffLocation', 'dropoffTime', 'pickupLocation', 'pickupTime' ], 'validateJsonSchema' ],
223
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
224
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
225 225
         ]);
226 226
 
227 227
         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/ScreeningEvent.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -135,9 +135,9 @@  discard block
 block discarded – undo
135 135
      * @var array
136 136
      */
137 137
     static protected $_schemaPropertyExpectedTypes = [
138
-        'subtitleLanguage' => ['Language','Text'],
139
-        'videoFormat' => ['Text'],
140
-        'workPresented' => ['Movie']
138
+        'subtitleLanguage' => [ 'Language', 'Text' ],
139
+        'videoFormat' => [ 'Text' ],
140
+        'workPresented' => [ 'Movie' ]
141 141
     ];
142 142
 
143 143
     /**
@@ -209,9 +209,9 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $rules = parent::rules();
211 211
         $rules = array_merge($rules, [
212
-            [['subtitleLanguage','videoFormat','workPresented'], 'validateJsonSchema'],
213
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
214
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
212
+            [ [ 'subtitleLanguage', 'videoFormat', 'workPresented' ], 'validateJsonSchema' ],
213
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
214
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
215 215
         ]);
216 216
 
217 217
         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/Suite.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -64,35 +64,35 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @var array
66 66
      */
67
-    static public $schemaPropertyNames = [];
67
+    static public $schemaPropertyNames = [ ];
68 68
 
69 69
     /**
70 70
      * The Schema.org composed Property Expected Types
71 71
      *
72 72
      * @var array
73 73
      */
74
-    static public $schemaPropertyExpectedTypes = [];
74
+    static public $schemaPropertyExpectedTypes = [ ];
75 75
 
76 76
     /**
77 77
      * The Schema.org composed Property Descriptions
78 78
      *
79 79
      * @var array
80 80
      */
81
-    static public $schemaPropertyDescriptions = [];
81
+    static public $schemaPropertyDescriptions = [ ];
82 82
 
83 83
     /**
84 84
      * The Schema.org composed Google Required Schema for this type
85 85
      *
86 86
      * @var array
87 87
      */
88
-    static public $googleRequiredSchema = [];
88
+    static public $googleRequiredSchema = [ ];
89 89
 
90 90
     /**
91 91
      * The Schema.org composed Google Recommended Schema for this type
92 92
      *
93 93
      * @var array
94 94
      */
95
-    static public $googleRecommendedSchema = [];
95
+    static public $googleRecommendedSchema = [ ];
96 96
 
97 97
     // Public Properties
98 98
     // =========================================================================
@@ -148,9 +148,9 @@  discard block
 block discarded – undo
148 148
      * @var array
149 149
      */
150 150
     static protected $_schemaPropertyExpectedTypes = [
151
-        'bed' => ['BedDetails','BedType','Text'],
152
-        'numberOfRooms' => ['Number','QuantitativeValue'],
153
-        'occupancy' => ['QuantitativeValue']
151
+        'bed' => [ 'BedDetails', 'BedType', 'Text' ],
152
+        'numberOfRooms' => [ 'Number', 'QuantitativeValue' ],
153
+        'occupancy' => [ 'QuantitativeValue' ]
154 154
     ];
155 155
 
156 156
     /**
@@ -222,9 +222,9 @@  discard block
 block discarded – undo
222 222
     {
223 223
         $rules = parent::rules();
224 224
         $rules = array_merge($rules, [
225
-            [['bed','numberOfRooms','occupancy'], 'validateJsonSchema'],
226
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
227
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
225
+            [ [ 'bed', 'numberOfRooms', 'occupancy' ], 'validateJsonSchema' ],
226
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
227
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
228 228
         ]);
229 229
 
230 230
         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/TechArticle.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
-        'dependencies' => ['Text'],
130
-        'proficiencyLevel' => ['Text']
129
+        'dependencies' => [ 'Text' ],
130
+        'proficiencyLevel' => [ 'Text' ]
131 131
     ];
132 132
 
133 133
     /**
@@ -198,9 +198,9 @@  discard block
 block discarded – undo
198 198
     {
199 199
         $rules = parent::rules();
200 200
         $rules = array_merge($rules, [
201
-            [['dependencies','proficiencyLevel'], '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
+            [ [ 'dependencies', 'proficiencyLevel' ], '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/PayAction.php 2 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -126,8 +126,8 @@  discard block
 block discarded – undo
126 126
      * @var array
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129
-        'purpose' => ['MedicalDevicePurpose','Thing'],
130
-        'recipient' => ['Audience','ContactPoint','Organization','Person']
129
+        'purpose' => [ 'MedicalDevicePurpose', 'Thing' ],
130
+        'recipient' => [ 'Audience', 'ContactPoint', 'Organization', 'Person' ]
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
-            [['purpose','recipient'], '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
+            [ [ 'purpose', 'recipient' ], '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/Seat.php 2 patches
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -60,35 +60,35 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @var array
62 62
      */
63
-    static public $schemaPropertyNames = [];
63
+    static public $schemaPropertyNames = [ ];
64 64
 
65 65
     /**
66 66
      * The Schema.org composed Property Expected Types
67 67
      *
68 68
      * @var array
69 69
      */
70
-    static public $schemaPropertyExpectedTypes = [];
70
+    static public $schemaPropertyExpectedTypes = [ ];
71 71
 
72 72
     /**
73 73
      * The Schema.org composed Property Descriptions
74 74
      *
75 75
      * @var array
76 76
      */
77
-    static public $schemaPropertyDescriptions = [];
77
+    static public $schemaPropertyDescriptions = [ ];
78 78
 
79 79
     /**
80 80
      * The Schema.org composed Google Required Schema for this type
81 81
      *
82 82
      * @var array
83 83
      */
84
-    static public $googleRequiredSchema = [];
84
+    static public $googleRequiredSchema = [ ];
85 85
 
86 86
     /**
87 87
      * The Schema.org composed Google Recommended Schema for this type
88 88
      *
89 89
      * @var array
90 90
      */
91
-    static public $googleRecommendedSchema = [];
91
+    static public $googleRecommendedSchema = [ ];
92 92
 
93 93
     // Public Properties
94 94
     // =========================================================================
@@ -142,10 +142,10 @@  discard block
 block discarded – undo
142 142
      * @var array
143 143
      */
144 144
     static protected $_schemaPropertyExpectedTypes = [
145
-        'seatNumber' => ['Text'],
146
-        'seatRow' => ['Text'],
147
-        'seatSection' => ['Text'],
148
-        'seatingType' => ['QualitativeValue','Text']
145
+        'seatNumber' => [ 'Text' ],
146
+        'seatRow' => [ 'Text' ],
147
+        'seatSection' => [ 'Text' ],
148
+        'seatingType' => [ 'QualitativeValue', 'Text' ]
149 149
     ];
150 150
 
151 151
     /**
@@ -218,9 +218,9 @@  discard block
 block discarded – undo
218 218
     {
219 219
         $rules = parent::rules();
220 220
         $rules = array_merge($rules, [
221
-            [['seatNumber','seatRow','seatSection','seatingType'], '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
+            [ [ 'seatNumber', 'seatRow', 'seatSection', 'seatingType' ], 'validateJsonSchema' ],
222
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
223
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
224 224
         ]);
225 225
 
226 226
         return $rules;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/AlignmentObject.php 2 patches
Spacing   +13 added lines, -13 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
     // =========================================================================
@@ -153,11 +153,11 @@  discard block
 block discarded – undo
153 153
      * @var array
154 154
      */
155 155
     static protected $_schemaPropertyExpectedTypes = [
156
-        'alignmentType' => ['Text'],
157
-        'educationalFramework' => ['Text'],
158
-        'targetDescription' => ['Text'],
159
-        'targetName' => ['Text'],
160
-        'targetUrl' => ['URL']
156
+        'alignmentType' => [ 'Text' ],
157
+        'educationalFramework' => [ 'Text' ],
158
+        'targetDescription' => [ 'Text' ],
159
+        'targetName' => [ 'Text' ],
160
+        'targetUrl' => [ 'URL' ]
161 161
     ];
162 162
 
163 163
     /**
@@ -231,9 +231,9 @@  discard block
 block discarded – undo
231 231
     {
232 232
         $rules = parent::rules();
233 233
         $rules = array_merge($rules, [
234
-            [['alignmentType','educationalFramework','targetDescription','targetName','targetUrl'], 'validateJsonSchema'],
235
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
236
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
234
+            [ [ 'alignmentType', 'educationalFramework', 'targetDescription', 'targetName', 'targetUrl' ], 'validateJsonSchema' ],
235
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
236
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
237 237
         ]);
238 238
 
239 239
         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/BusTrip.php 2 patches
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
     // =========================================================================
@@ -168,13 +168,13 @@  discard block
 block discarded – undo
168 168
      * @var array
169 169
      */
170 170
     static protected $_schemaPropertyExpectedTypes = [
171
-        'arrivalBusStop' => ['BusStation','BusStop'],
172
-        'arrivalTime' => ['DateTime'],
173
-        'busName' => ['Text'],
174
-        'busNumber' => ['Text'],
175
-        'departureBusStop' => ['BusStation','BusStop'],
176
-        'departureTime' => ['DateTime'],
177
-        'provider' => ['Organization','Person']
171
+        'arrivalBusStop' => [ 'BusStation', 'BusStop' ],
172
+        'arrivalTime' => [ 'DateTime' ],
173
+        'busName' => [ 'Text' ],
174
+        'busNumber' => [ 'Text' ],
175
+        'departureBusStop' => [ 'BusStation', 'BusStop' ],
176
+        'departureTime' => [ 'DateTime' ],
177
+        'provider' => [ 'Organization', 'Person' ]
178 178
     ];
179 179
 
180 180
     /**
@@ -250,9 +250,9 @@  discard block
 block discarded – undo
250 250
     {
251 251
         $rules = parent::rules();
252 252
         $rules = array_merge($rules, [
253
-            [['arrivalBusStop','arrivalTime','busName','busNumber','departureBusStop','departureTime','provider'], 'validateJsonSchema'],
254
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
255
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
253
+            [ [ 'arrivalBusStop', 'arrivalTime', 'busName', 'busNumber', 'departureBusStop', 'departureTime', 'provider' ], 'validateJsonSchema' ],
254
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
255
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
256 256
         ]);
257 257
 
258 258
         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/FollowAction.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -71,35 +71,35 @@  discard block
 block discarded – undo
71 71
      *
72 72
      * @var array
73 73
      */
74
-    static public $schemaPropertyNames = [];
74
+    static public $schemaPropertyNames = [ ];
75 75
 
76 76
     /**
77 77
      * The Schema.org composed Property Expected Types
78 78
      *
79 79
      * @var array
80 80
      */
81
-    static public $schemaPropertyExpectedTypes = [];
81
+    static public $schemaPropertyExpectedTypes = [ ];
82 82
 
83 83
     /**
84 84
      * The Schema.org composed Property Descriptions
85 85
      *
86 86
      * @var array
87 87
      */
88
-    static public $schemaPropertyDescriptions = [];
88
+    static public $schemaPropertyDescriptions = [ ];
89 89
 
90 90
     /**
91 91
      * The Schema.org composed Google Required Schema for this type
92 92
      *
93 93
      * @var array
94 94
      */
95
-    static public $googleRequiredSchema = [];
95
+    static public $googleRequiredSchema = [ ];
96 96
 
97 97
     /**
98 98
      * The Schema.org composed Google Recommended Schema for this type
99 99
      *
100 100
      * @var array
101 101
      */
102
-    static public $googleRecommendedSchema = [];
102
+    static public $googleRecommendedSchema = [ ];
103 103
 
104 104
     // Public Properties
105 105
     // =========================================================================
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      * @var array
130 130
      */
131 131
     static protected $_schemaPropertyExpectedTypes = [
132
-        'followee' => ['Organization','Person']
132
+        'followee' => [ 'Organization', 'Person' ]
133 133
     ];
134 134
 
135 135
     /**
@@ -199,9 +199,9 @@  discard block
 block discarded – undo
199 199
     {
200 200
         $rules = parent::rules();
201 201
         $rules = array_merge($rules, [
202
-            [['followee'], '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
+            [ [ 'followee' ], '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.
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.