Skip to content

Commit a678d4b

Browse files
committed
PB-366: Templates Lower Level Test Coverage
- Fix return type
1 parent a554e47 commit a678d4b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/code/Magento/PageBuilder/Ui/Component/Template/DataProvider.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ public function __construct(
6565
}
6666

6767
/**
68-
* Add a filter into the data provider
69-
*
70-
* @param Filter $filter
71-
* @return mixed|void
68+
* @inheritDoc
7269
*/
7370
public function addFilter(Filter $filter)
7471
{
@@ -77,5 +74,7 @@ public function addFilter(Filter $filter)
7774
} else {
7875
parent::addFilter($filter);
7976
}
77+
78+
return $this;
8079
}
8180
}

0 commit comments

Comments
 (0)