Skip to content

Commit

Permalink
Changed HYDRATE constants from Query to AbstractQuery class (needs PS…
Browse files Browse the repository at this point in the history
… fix)
  • Loading branch information
King2500 committed Mar 20, 2019
1 parent 3665a5f commit 00ea6c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions orm/.phpstorm.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace PHPSTORM_META {

registerArgumentsSet('doctrine_hydration_modes',
\Doctrine\ORM\Query::HYDRATE_OBJECT,
\Doctrine\ORM\Query::HYDRATE_ARRAY,
\Doctrine\ORM\Query::HYDRATE_SCALAR,
\Doctrine\ORM\Query::HYDRATE_SINGLE_SCALAR,
\Doctrine\ORM\Query::HYDRATE_SIMPLEOBJECT
\Doctrine\ORM\AbstractQuery::HYDRATE_OBJECT,
\Doctrine\ORM\AbstractQuery::HYDRATE_ARRAY,
\Doctrine\ORM\AbstractQuery::HYDRATE_SCALAR,
\Doctrine\ORM\AbstractQuery::HYDRATE_SINGLE_SCALAR,
\Doctrine\ORM\AbstractQuery::HYDRATE_SIMPLEOBJECT
);
expectedArguments(\Doctrine\ORM\Query::setHydrationMode(), 0, argumentsSet('doctrine_hydration_modes'));
expectedArguments(\Doctrine\ORM\AbstractQuery::setHydrationMode(), 0, argumentsSet('doctrine_hydration_modes'));
Expand Down

1 comment on commit 00ea6c9

@King2500
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.