We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28d6059 + c2a958a commit 1a8ccfbCopy full SHA for 1a8ccfb
src/Call/Collection.php
@@ -59,9 +59,10 @@ public function hydrateEntity($data, $idOrCall)
59
* @param null $callOrFilter
60
* @return $this|Call
61
*/
62
- public function __invoke(Filter $filter = null)
+ public function __invoke($filter = null)
63
{
64
- if (!is_null($filter)) {
+ /** Fix for the smarter MapFactory in v2.2.0 and the uniqueness of this class interface */
65
+ if (!is_null($filter) && $filter instanceof Filter) {
66
$this->setFilter($filter);
67
}
68
0 commit comments