@@ -95,6 +95,9 @@ |
||
| 95 | 95 | return $this->getSelectedSnippet($customer, false); |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | + /** |
|
| 99 | + * @param boolean $condition |
|
| 100 | + */ |
|
| 98 | 101 | private function getSelectedSnippet(CustomerInterface $customer, $condition) |
| 99 | 102 | { |
| 100 | 103 | $html = ''; |
@@ -140,6 +140,9 @@ |
||
| 140 | 140 | return $this->redirect('/'); |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | + /** |
|
| 144 | + * @param string $path |
|
| 145 | + */ |
|
| 143 | 146 | public function redirect($path) |
| 144 | 147 | { |
| 145 | 148 | $redirect = $this->resultRedirectFactory->create(); |