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:
commit
a1143be31a
@ -94,7 +94,7 @@ class Finder implements \IteratorAggregate, \Countable
|
|||||||
*
|
*
|
||||||
* @return Finder The current Finder instance
|
* @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(
|
$this->adapters[$adapter->getName()] = array(
|
||||||
'adapter' => $adapter,
|
'adapter' => $adapter,
|
||||||
|
Reference in New Issue
Block a user