File tree Expand file tree Collapse file tree 4 files changed +38
-2
lines changed
OfflineShipping/Block/Adminhtml/Form/Field
SalesRule/Model/ResourceModel
lib/internal/Magento/Framework/Interception/Test/Unit/Code/Generator/_files Expand file tree Collapse file tree 4 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Export extends \Magento\Framework\Data\Form\Element\AbstractElement
21
21
* @param \Magento\Framework\Data\Form\Element\Factory $factoryElement
22
22
* @param \Magento\Framework\Data\Form\Element\CollectionFactory $factoryCollection
23
23
* @param \Magento\Framework\Escaper $escaper
24
- * @param \Magento\Backend\Helper\Data $helper
24
+ * @param \Magento\Backend\Model\UrlInterface $backendUrl
25
25
* @param array $data
26
26
*/
27
27
public function __construct (
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public function exists($code)
106
106
}
107
107
108
108
/**
109
- * Update auto generated Specific Coupon if it's rule changed
109
+ * Update auto generated Specific Coupon if its rule changed
110
110
*
111
111
* @param \Magento\SalesRule\Model\Rule $rule
112
112
* @return $this
Original file line number Diff line number Diff line change @@ -12,6 +12,32 @@ class Interceptor extends \Magento\Framework\Interception\Code\Generator\TSample
12
12
$this->___init();
13
13
}
14
14
15
+ /**
16
+ * {@inheritdoc}
17
+ */
18
+ public function returnVoid() : void
19
+ {
20
+ $pluginInfo = $this->pluginList->getNext($this->subjectType, 'returnVoid');
21
+ if (!$pluginInfo) {
22
+ parent::returnVoid();
23
+ } else {
24
+ $this->___callPlugins('returnVoid', func_get_args(), $pluginInfo);
25
+ }
26
+ }
27
+
28
+ /**
29
+ * {@inheritdoc}
30
+ */
31
+ public function getNullableValue() : ?string
32
+ {
33
+ $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getNullableValue');
34
+ if (!$pluginInfo) {
35
+ return parent::getNullableValue();
36
+ } else {
37
+ return $this->___callPlugins('getNullableValue', func_get_args(), $pluginInfo);
38
+ }
39
+ }
40
+
15
41
/**
16
42
* {@inheritdoc}
17
43
*/
Original file line number Diff line number Diff line change @@ -10,6 +10,16 @@ class TSample
10
10
private $ value ;
11
11
private $ variadicValue ;
12
12
13
+ public function returnVoid () : void
14
+ {
15
+ // Nothing to do here
16
+ }
17
+
18
+ public function getNullableValue () : ?string
19
+ {
20
+ return null ;
21
+ }
22
+
13
23
public function getValue () : string
14
24
{
15
25
return $ this ->value ;
You can’t perform that action at this time.
0 commit comments