Fixed typo in name of TwoStepORMAdapter

This commit is contained in:
Jan Böhmer 2023-10-06 13:08:46 +02:00
parent 608bd247af
commit 1b276c5eae
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ use Symfony\Component\OptionsResolver\OptionsResolver;
* This way we save the overhead of the fetch join query for the count and counting, which can be very slow, cause * This way we save the overhead of the fetch join query for the count and counting, which can be very slow, cause
* no indexes can be used. * no indexes can be used.
*/ */
class TwoStepORMAdapater extends ORMAdapter class TwoStepORMAdapter extends ORMAdapter
{ {
private \Closure $detailQueryCallable; private \Closure $detailQueryCallable;

View file

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace App\DataTables; namespace App\DataTables;
use App\DataTables\Adapters\FetchResultsAtOnceORMAdapter; use App\DataTables\Adapters\FetchResultsAtOnceORMAdapter;
use App\DataTables\Adapters\TwoStepORMAdapater; use App\DataTables\Adapters\TwoStepORMAdapter;
use App\DataTables\Column\EnumColumn; use App\DataTables\Column\EnumColumn;
use App\Doctrine\Helpers\FieldHelper; use App\Doctrine\Helpers\FieldHelper;
use App\Entity\Parts\ManufacturingStatus; use App\Entity\Parts\ManufacturingStatus;
@ -272,7 +272,7 @@ final class PartsDataTable implements DataTableTypeInterface
]) ])
->addOrderBy('name') ->addOrderBy('name')
->createAdapter(TwoStepORMAdapater::class, [ ->createAdapter(TwoStepORMAdapter::class, [
'filter_query' => $this->getFilterQuery(...), 'filter_query' => $this->getFilterQuery(...),
'detail_query' => $this->getDetailQuery(...), 'detail_query' => $this->getDetailQuery(...),
'entity' => Part::class, 'entity' => Part::class,