Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class ErrorStep extends AbstractBaseStep |
||
15 | { |
||
16 | /** |
||
17 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
18 | * |
||
19 | * @return bool |
||
20 | */ |
||
21 | public function requireInput(AbstractTransfer $quoteTransfer): bool |
||
22 | { |
||
23 | return true; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @param \Symfony\Component\HttpFoundation\Request $request |
||
28 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
29 | * |
||
30 | * @return \Generated\Shared\Transfer\QuoteTransfer |
||
31 | */ |
||
32 | public function execute(Request $request, AbstractTransfer $quoteTransfer): QuoteTransfer |
||
33 | { |
||
34 | return $quoteTransfer->setOrderReference(null); |
||
|
|||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
39 | * |
||
40 | * @return bool |
||
41 | */ |
||
42 | public function postCondition(AbstractTransfer $quoteTransfer): bool |
||
45 | } |
||
46 | } |
||
47 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.