File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ abstract class BaseEngine implements DataTableEngineContract
172172 *
173173 * @var array
174174 */
175- private $ appends ;
175+ private $ appends = [] ;
176176
177177 /**
178178 * Setup search keyword.
@@ -683,11 +683,11 @@ abstract public function paging();
683683 */
684684 public function render ($ object = false )
685685 {
686- $ output = $ this -> appends + [
687- 'draw ' => (int ) $ this ->request ['draw ' ],
688- 'recordsTotal ' => $ this ->totalRecords ,
689- 'recordsFiltered ' => $ this ->filteredRecords ,
690- ] ;
686+ $ output = array_merge ( [
687+ 'draw ' => (int ) $ this ->request ['draw ' ],
688+ 'recordsTotal ' => $ this ->totalRecords ,
689+ 'recordsFiltered ' => $ this ->filteredRecords ,
690+ ], $ this -> appends ) ;
691691
692692 if (isset ($ this ->transformer )) {
693693 $ fractal = new Manager ();
You can’t perform that action at this time.
0 commit comments