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.
1 parent 3fc34e8 commit c1bdc8eCopy full SHA for c1bdc8e
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