1 | <?php |
||||
2 | |||||
3 | /* |
||||
4 | * @copyright 2014 Mautic Contributors. All rights reserved |
||||
5 | * @author Mautic |
||||
6 | * |
||||
7 | * @link http://mautic.org |
||||
8 | * |
||||
9 | * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html |
||||
10 | */ |
||||
11 | |||||
12 | namespace Mautic\StageBundle\Helper; |
||||
13 | |||||
14 | use Mautic\LeadBundle\Entity\Lead; |
||||
15 | |||||
16 | /** |
||||
17 | * Class EventHelper. |
||||
18 | */ |
||||
19 | class EventHelper |
||||
20 | { |
||||
21 | /** |
||||
22 | * @param Lead $lead |
||||
23 | * @param array $action |
||||
24 | * |
||||
25 | * @return int |
||||
26 | */ |
||||
27 | public static function engageStageAction($lead, $action) |
||||
0 ignored issues
–
show
The parameter
$lead is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. ![]() |
|||||
28 | { |
||||
29 | static $initiated = []; |
||||
30 | |||||
31 | return 0; |
||||
32 | } |
||||
33 | } |
||||
34 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.