diff --git a/src/pages/development/components/view-models.md b/src/pages/development/components/view-models.md index c2b8a553b..eefaf4474 100644 --- a/src/pages/development/components/view-models.md +++ b/src/pages/development/components/view-models.md @@ -138,7 +138,7 @@ class PreparePostData implements ArgumentInterface The following is an example of the view model initialization in the `app/code/Magento/Catalog/view/frontend/templates/product/list/items.phtml` template. ```php -/** @var $viewModel /Magento/Catalog/ViewModel/Product/Listing/PreparePostData */ +/** @var \Magento\Catalog\ViewModel\Product\Listing\PreparePostData $viewModel */ $viewModel = $block->getViewModel(); $postArray = $viewModel->getPostData( $block->escapeUrl($block->getAddToCartUrl($_item)),