Skip to content

Commit

Permalink
Merge pull request #2865 from yajra/fixWith
Browse files Browse the repository at this point in the history
Fix with method error with static analysis
  • Loading branch information
yajra authored Oct 6, 2022
2 parents a311684 + 9f369f5 commit 2385b8a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/DataTableAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,6 @@ public function with($key, $value = ''): static
{
if (is_array($key)) {
$this->appends = $key;
} elseif (is_callable($value)) {
$this->appends[$key] = value($value);
} else {
$this->appends[$key] = value($value);
}
Expand Down

0 comments on commit 2385b8a

Please sign in to comment.