We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3fc34e8 + c1bdc8e commit c4af0b1Copy full SHA for c4af0b1
src/helper.php
@@ -6,7 +6,7 @@
6
* Or return the factory if source is not set.
7
*
8
* @param \Illuminate\Contracts\Database\Query\Builder|\Illuminate\Contracts\Database\Eloquent\Builder|\Illuminate\Support\Collection|array|null $source
9
- * @return \Yajra\DataTables\DataTables|\Yajra\DataTables\DataTableAbstract
+ * @return ($source is null ? \Yajra\DataTables\DataTables : \Yajra\DataTables\DataTableAbstract)
10
11
* @throws \Yajra\DataTables\Exceptions\Exception
12
*/
0 commit comments