Closed shyim closed 5 years ago
Doctrine Events are missunderstood as Hook and the Hook template was generated.
This PR fixes the generated code for Doctrine Events (Shopware\Models\Article\Article:postRemove)
Following template is now generated
<?php public function foo(\Enlight_Event_EventArgs $args) { /** @var \Shopware\Models\Article\Article $entity */ $entity = $args->get('entity'); }
Doctrine Events are missunderstood as Hook and the Hook template was generated.
This PR fixes the generated code for Doctrine Events (Shopware\Models\Article\Article:postRemove)
Following template is now generated