Skip to content

Commit a93fa1d

Browse files
committed
Change to call_user_func
1 parent 5d2f98c commit a93fa1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/Columns/BooleanColumn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ public function getContents(Model $row)
2828
return view($this->getView())
2929
->withComponent($this->getComponent())
3030
->withSuccessValue($this->getSuccessValue())
31-
->withStatus($this->hasCallback() ? app()->call($this->getCallback(), ['value' => $value, 'row' => $row]) : (bool)$value === true);
31+
->withStatus($this->hasCallback() ? call_user_func($this->getCallback(), $value, $row) : (bool)$value === true);
3232
}
3333
}

0 commit comments

Comments
 (0)