File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
lib/internal/Magento/Framework/Interception/Test/Unit/Code/Generator/_files Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,19 @@ class Interceptor extends \Magento\Framework\Interception\Code\Generator\TSample
25
25
}
26
26
}
27
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
+
28
41
/**
29
42
* {@inheritdoc}
30
43
*/
Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ public function returnVoid() : void
15
15
// Nothing to do here
16
16
}
17
17
18
+ public function getNullableValue () : ?string
19
+ {
20
+ return null ;
21
+ }
22
+
18
23
public function getValue () : string
19
24
{
20
25
return $ this ->value ;
You can’t perform that action at this time.
0 commit comments