minor #26697 [Cache] Import InvalidArgumentException in PdoAdapter (KonstantinCodes)

This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #26697).

Discussion
----------

[Cache] Import InvalidArgumentException in PdoAdapter

| Q             | A
| ------------- | ---
| Branch?       |master <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets |
| License       | MIT
| Doc PR        |

This PR merely imports the InvalidArgumentException in the PdoAdapter, which has been missing.

Commits
-------

b678f7f Import InvalidArgumentException in PdoAdapter
This commit is contained in:
Nicolas Grekas 2018-03-29 15:02:01 +02:00
commit 10ba44cfbf

View File

@ -12,6 +12,7 @@
namespace Symfony\Component\Cache\Adapter;
use Doctrine\DBAL\Connection;
use Symfony\Component\Cache\Exception\InvalidArgumentException;
use Symfony\Component\Cache\PruneableInterface;
use Symfony\Component\Cache\Traits\PdoTrait;