File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/ProductAlert/Model Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ public function getType()
204204 *
205205 * @return $this
206206 */
207- public function setWebsite ($ website )
207+ public function setWebsite (\ Magento \ Store \ Model \ Website $ website )
208208 {
209209 $ this ->_website = $ website ;
210210 return $ this ;
@@ -273,7 +273,7 @@ public function clean()
273273 *
274274 * @return $this
275275 */
276- public function addPriceProduct ($ product )
276+ public function addPriceProduct (\ Magento \ Catalog \ Model \ Product $ product )
277277 {
278278 $ this ->_priceProducts [$ product ->getId ()] = $ product ;
279279 return $ this ;
@@ -286,7 +286,7 @@ public function addPriceProduct($product)
286286 *
287287 * @return $this
288288 */
289- public function addStockProduct ($ product )
289+ public function addStockProduct (\ Magento \ Catalog \ Model \ Product $ product )
290290 {
291291 $ this ->_stockProducts [$ product ->getId ()] = $ product ;
292292 return $ this ;
You can’t perform that action at this time.
0 commit comments