File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed
Newsletter/Block/Adminhtml/Queue
dev/tests/integration/testsuite/Magento/Review/Model/Resource/Rating Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ class Preview extends \Magento\Newsletter\Block\Adminhtml\Template\Preview
33
33
public function __construct (
34
34
\Magento \Backend \Block \Template \Context $ context ,
35
35
\Magento \Newsletter \Model \TemplateFactory $ templateFactory ,
36
- \Magento \Newsletter \Model \QueueFactory $ queueFactory ,
37
36
\Magento \Newsletter \Model \SubscriberFactory $ subscriberFactory ,
37
+ \Magento \Newsletter \Model \QueueFactory $ queueFactory ,
38
38
array $ data = []
39
39
) {
40
40
$ this ->_queueFactory = $ queueFactory ;
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ protected function processRatingStores(\Magento\Framework\Model\AbstractModel $o
214
214
215
215
$ insert = [];
216
216
foreach (array_diff_assoc ($ new , $ old ) as $ storeId => $ title ) {
217
- $ insert [] = ['rating_id ' => $ ratingId , 'store_id ' => (int )$ storeId ];
217
+ $ insert [] = ['rating_id ' => $ ratingId , 'store_id ' => (int )$ storeId, ' value ' => $ title ];
218
218
}
219
219
$ this ->insertRatingData ($ table , $ insert );
220
220
return $ this ;
Original file line number Diff line number Diff line change @@ -51,5 +51,4 @@ public function testSetStoreFilter()
51
51
{
52
52
$ this ->collection ->setStoreFilter (1 );
53
53
}
54
-
55
54
}
Original file line number Diff line number Diff line change 11
11
class UrlBuilder implements UrlBuilderInterface
12
12
{
13
13
/**
14
- * @param array $queryParams
15
- * @return string
14
+ * {@inheritdoc}
15
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
16
16
*/
17
17
public function getUrl (array $ queryParams = [])
18
18
{
You can’t perform that action at this time.
0 commit comments