Completed
Pull Request — master (#2002)
by Arjay
01:40
created
src/QueryDataTable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -450,7 +450,7 @@
 block discarded – undo
450 450
     /**
451 451
      * Prepare count query builder.
452 452
      *
453
-     * @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder
453
+     * @return string
454 454
      */
455 455
     protected function prepareCountQuery()
456 456
     {
Please login to merge, or discard this patch.
src/DataTables.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,6 @@
 block discarded – undo
129 129
     /**
130 130
      * DataTables using Collection.
131 131
      *
132
-     * @param \Illuminate\Http\Resources\Json\AnonymousResourceCollection|array $collection
133 132
      * @return DataTableAbstract|ApiResourceDataTable
134 133
      */
135 134
     public function resource($resource)
Please login to merge, or discard this patch.
src/EloquentDataTable.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -184,6 +184,11 @@
 block discarded – undo
184 184
         return $table . '.' . $relationColumn;
185 185
     }
186 186
 
187
+    /**
188
+     * @param \Illuminate\Database\Eloquent\Model $model
189
+     *
190
+     * @return false|string
191
+     */
187 192
     protected function checkSoftDeletesOnModel($model)
188 193
     {
189 194
         if (in_array('Illuminate\Database\Eloquent\SoftDeletes', class_uses($model))) {
Please login to merge, or discard this patch.