File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
lib/internal/Magento/Framework/Interception/Test/Unit/Code/Generator/_files Expand file tree Collapse file tree 2 files changed +36
-0
lines changed 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