| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 17 | public function execute()  | 
            ||
| 18 |     { | 
            ||
| 19 |         $productId = (int) $this->getRequest()->getParam('id'); | 
            ||
| 20 | $product = $this->loadProduct($productId);  | 
            ||
| 21 |         if (!$product) { | 
            ||
| 22 | return false;  | 
            ||
| 23 | }  | 
            ||
| 24 | /** @var \Magento\Framework\View\Result\Layout $resultLayout */  | 
            ||
| 25 | $resultLayout = $this->resultFactory->create(ResultFactory::TYPE_LAYOUT);  | 
            ||
| 26 | return $resultLayout;  | 
            ||
| 27 | }  | 
            ||
| 28 | }  |