Skip to content

Commit d368ea2

Browse files
authored
php-stan
1 parent dd85331 commit d368ea2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/DataTables.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ public function query(QueryBuilder $builder): QueryDataTable
118118
$this->throwInvalidEngineException($dataTable, QueryDataTable::class);
119119
}
120120

121+
/** @phpstan-ignore-next-line */
121122
return $dataTable::create($builder);
122123
}
123124

@@ -135,6 +136,7 @@ public function eloquent(EloquentBuilder $builder): EloquentDataTable
135136
$this->throwInvalidEngineException($dataTable, EloquentDataTable::class);
136137
}
137138

139+
/** @phpstan-ignore-next-line */
138140
return $dataTable::create($builder);
139141
}
140142

@@ -152,6 +154,7 @@ public function collection($collection): CollectionDataTable
152154
$this->throwInvalidEngineException($dataTable, CollectionDataTable::class);
153155
}
154156

157+
/** @phpstan-ignore-next-line */
155158
return $dataTable::create($collection);
156159
}
157160

0 commit comments

Comments
 (0)