Completed
Pull Request — master (#3)
by Andreas
03:45 queued 02:09
created
src/Controller/ContactController.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * Set the default transport
104 104
      *
105
-     * @param Transport $transport The transport to set as default
105
+     * @param TransportInterface $transport The transport to set as default
106 106
      *
107 107
      * @return ContactController
108 108
      */
@@ -115,7 +115,6 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Set the given form as contact-form
117 117
      *
118
-     * @param ContactForm $form
119 118
      *
120 119
      * @return ContactController
121 120
      */
@@ -167,9 +166,8 @@  discard block
 block discarded – undo
167 166
     /**
168 167
      * Send the email
169 168
      *
170
-     * @param array $params The parameters to include in the email
171 169
      *
172
-     * @return boolean
170
+     * @return boolean|null
173 171
      */
174 172
     protected function sendEmail($values)
175 173
     {
Please login to merge, or discard this patch.
src/Form/ContactForm.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -35,11 +35,9 @@
 block discarded – undo
35 35
 use Zend\Hydrator\ArraySerializable;
36 36
 use Zend\InputFilter\Input;
37 37
 use Zend\InputFilter\InputFilter;
38
-use Zend\Validator;
39 38
 use Zend\Form\Form;
40 39
 use Zend\Form\Element;
41 40
 use Zend\Validator\Hostname as HostnameValidator;
42
-use Org_Heigl\Contact\Validator\IsEmpty as EmptyValidator;
43 41
 
44 42
 /**
45 43
  * The Contact-Form
Please login to merge, or discard this patch.
src/Service/ContactControllerFactory.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@
 block discarded – undo
53 53
 	/**
54 54
 	 * Create the ContactController
55 55
 	 * 
56
-	 * @param ServiceLocator $services The ServiceLocator
57 56
 	 * 
58 57
 	 * @see \Zend\ServiceManager\FactoryInterface::createService()
59 58
 	 * @return ContactController
Please login to merge, or discard this patch.