File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ protected function getFeatures()
293
293
];
294
294
$ result = [];
295
295
foreach ($ features as $ attribute ) {
296
- if (! empty ( $ this ->$ attribute) ) {
296
+ if ($ this ->$ attribute !== null ) {
297
297
$ result [$ attribute ] = $ this ->$ attribute ;
298
298
}
299
299
}
@@ -327,7 +327,7 @@ protected function getOptions()
327
327
];
328
328
$ result = [];
329
329
foreach ($ options as $ attribute ) {
330
- if (! empty ( $ this ->$ attribute) ) {
330
+ if ($ this ->$ attribute !== null ) {
331
331
$ result [$ attribute ] = $ this ->$ attribute ;
332
332
}
333
333
}
@@ -354,7 +354,7 @@ protected function getCallbacks()
354
354
];
355
355
$ results = [];
356
356
foreach ($ callbacks as $ attribute ) {
357
- if (! empty ( $ this ->$ attribute) ) {
357
+ if ($ this ->$ attribute !== null ) {
358
358
$ results [$ attribute ] = new JsExpression ($ this ->$ attribute );
359
359
}
360
360
}
@@ -382,4 +382,4 @@ protected function initColumns()
382
382
}
383
383
}
384
384
385
- }
385
+ }
You can’t perform that action at this time.
0 commit comments