| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class PurchaseResponse extends AbstractResponse implements RedirectResponseInterface |
||
| 14 | { |
||
| 15 | use HasViewTrait; |
||
| 16 | |||
| 17 | |||
| 18 | protected function initViewVars() |
||
| 19 | { |
||
| 20 | $data = $this->getData(); |
||
| 21 | $data['returnUrl'] .= strpos($data['returnUrl'], '?') === false ? $data['returnUrl'] . '?' : ''; |
||
| 22 | $this->getView()->with($data); |
||
|
|
|||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @inheritDoc |
||
| 27 | */ |
||
| 28 | protected function generateViewPath() |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | protected function getViewFile() |
||
| 41 |
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.