Skip to content

Commit c0ec478

Browse files
authored
Fix addScopes method pushing the array of scopes
1 parent 93de348 commit c0ec478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/DataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ public function addScope(DataTableScope $scope)
550550
*/
551551
public function addScopes(array $scopes)
552552
{
553-
array_merge($this->scopes, $scopes);
553+
$this->scopes = array_merge($this->scopes, $scopes);
554554

555555
return $this;
556556
}

0 commit comments

Comments
 (0)