Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HydratorAwareInterface is non-existent in Validator/Factory.php #7

Open
rikgirbes opened this issue Dec 9, 2024 · 0 comments
Open

Comments

@rikgirbes
Copy link

File: src/Validator/Factory.php
Issue:
The file references a non-existent HydratorAwareInterface in the following code:

use PayNL\Sdk\Hydrator\HydratorAwareInterface;

if ($validator instanceof HydratorAwareInterface) {
    $validator->setHydrator($container->get('hydratorManager')->get('Entity'));
}

Problem:
HydratorAwareInterface does not exist, leading to potential runtime errors if this code were to be executed.

Solution:

  • Add the missing interface, or
  • Remove/refactor this file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant