Skip to content

Commit

Permalink
Merge pull request #49 from msmakouz/remove-binding-check
Browse files Browse the repository at this point in the history
Removing factory binding check
  • Loading branch information
msmakouz committed Aug 19, 2022
2 parents fe0f0b5 + e6b5e92 commit 498c799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataGrid/Interceptor/GridInterceptor.php
Expand Up @@ -115,7 +115,7 @@ private function makeSchema(DataGrid $dataGrid): array

private function makeFactory(array $schema): GridFactoryInterface
{
if (!empty($schema['factory']) && $this->container->has($schema['factory'])) {
if (!empty($schema['factory'])) {
$factory = $this->container->get($schema['factory']);
if ($factory instanceof GridFactoryInterface) {
return $factory;
Expand Down

0 comments on commit 498c799

Please sign in to comment.