These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | /* |
||
3 | * WellCommerce Open-Source E-Commerce Platform |
||
4 | * |
||
5 | * This file is part of the WellCommerce package. |
||
6 | * |
||
7 | * (c) Adam Piotrowski <[email protected]> |
||
8 | * |
||
9 | * For the full copyright and license information, |
||
10 | * please view the LICENSE file that was distributed with this source code. |
||
11 | */ |
||
12 | namespace WellCommerce\Bundle\AppBundle\EventListener; |
||
13 | |||
14 | use WellCommerce\Bundle\CoreBundle\Doctrine\Event\EntityEvent; |
||
15 | use WellCommerce\Bundle\CoreBundle\EventListener\AbstractEventSubscriber; |
||
16 | |||
17 | /** |
||
18 | * Class ClientSubscriber |
||
19 | * |
||
20 | * @author Adam Piotrowski <[email protected]> |
||
21 | */ |
||
22 | class ClientSubscriber extends AbstractEventSubscriber |
||
23 | { |
||
24 | public static function getSubscribedEvents() |
||
25 | { |
||
26 | return [ |
||
27 | 'client.post_create' => ['onClientPostCreate'], |
||
28 | ]; |
||
29 | } |
||
30 | |||
31 | public function onClientPostCreate(EntityEvent $event) |
||
0 ignored issues
–
show
|
|||
32 | { |
||
33 | } |
||
34 | } |
||
35 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.