minor #10835 Finder typehint fix (hhamon)

This PR was merged into the 2.3 branch.

Discussion
----------

Finder typehint fix

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

f3b0ef1 [Finder] fixed typehint of the Finder::addAdapter() method
This commit is contained in:
Fabien Potencier 2014-05-02 08:19:40 +02:00
commit a1143be31a
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class Finder implements \IteratorAggregate, \Countable
*
* @return Finder The current Finder instance
*/
public function addAdapter(Adapter\AdapterInterface $adapter, $priority = 0)
public function addAdapter(AdapterInterface $adapter, $priority = 0)
{
$this->adapters[$adapter->getName()] = array(
'adapter' => $adapter,