Completed
Push — master ( bbe443...f4a6ec )
by Tim
24:42 queued 09:39
created

Form::createActionAfterSubmitView()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 3
1
<?php
2
/**
3
 * Slot for powermail
4
 *
5
 * @package Html5videoplayerPowermail\Slots
6
 * @author  Tim Lochmüller
7
 */
8
9
10
namespace HVP\Html5videoplayerPowermail\Slots;
11
12
use In2code\Powermail\Controller\FormController;
13
use In2code\Powermail\Domain\Model\Mail;
14
15
/**
16
 * Slot for powermail
17
 *
18
 * @author Tim Lochmüller
19
 */
20
class Form extends AbstractSlot
21
{
22
23
    /**
24
     * Slot for powermail
25
     *
26
     * @param Mail           $mail
27
     * @param string         $hash
28
     * @param FormController $formController
29
     */
30
    public function createActionAfterSubmitView(Mail $mail, $hash, FormController $formController)
0 ignored issues
show
Unused Code introduced by
The parameter $hash is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $formController is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
31
    {
32
        $this->getAccessService()
33
            ->triggerFormSubmit($mail->getForm());
34
    }
35
}
36