Completed
Push — master ( 569cc3...4b435d )
by Ruud
26:21 queued 11:55
created
src/Kunstmaan/FixturesBundle/Parser/Parser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
         $this->specParsers = new ArrayCollection();
26 26
     }
27 27
 
28
+    /**
29
+     * @param ArrayCollection $providers
30
+     */
28 31
     public function parseFixture(Fixture $fixture, $providers, $fixtures = [])
29 32
     {
30 33
         $entities = [];
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Parser/Property/Method.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
         return $value;
75 75
     }
76 76
 
77
+    /**
78
+     * @param string[] $patterns
79
+     */
77 80
     private function processValue($pattern, $result, $value, $patterns)
78 81
     {
79 82
         if (!is_string($result) && !is_int($result) && count($patterns) > 1 && strlen(str_replace($pattern, '', $value)) > 0) {
@@ -89,7 +92,7 @@  discard block
 block discarded – undo
89 92
     }
90 93
 
91 94
     /**
92
-     * @param $parameters
95
+     * @param \ReflectionParameter[] $parameters
93 96
      * @param $additional
94 97
      * @return array
95 98
      */
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Parser/Spec/Listed.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /**
12 12
      * Check if this parser is applicable
13 13
      *
14
-     * @return bool
14
+     * @return integer
15 15
      */
16 16
     public function canParse($value)
17 17
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FixturesBundle/Populator/Methods/MethodInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -12,6 +12,7 @@  discard block
 block discarded – undo
12 12
      * @param mixed $object
13 13
      * @param string $property
14 14
      * @param mixed $value
15
+     * @return boolean
15 16
      */
16 17
     public function canSet($object, $property, $value);
17 18
 
@@ -19,6 +20,7 @@  discard block
 block discarded – undo
19 20
      * @param mixed $object
20 21
      * @param string $property
21 22
      * @param mixed $value
23
+     * @return void
22 24
      */
23 25
     public function set($object, $property, $value);
24 26
 }
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Controller/AbstractFormPageController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     /**
13 13
      * @param Request $request
14
-     * @return null
14
+     * @return Response|null
15 15
      */
16 16
     public function serviceAction(Request $request)
17 17
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Entity/FormAdaptorInterface.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Kunstmaan\FormBundle\Entity;
4 4
 
5 5
 use ArrayObject;
6
-
7 6
 use Symfony\Component\Form\FormBuilderInterface;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Entity/FormSubmission.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     /**
78 78
      * Get id
79 79
      *
80
-     * @return integer
80
+     * @return string
81 81
      */
82 82
     public function getId()
83 83
     {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     /**
174 174
      * Set the date when the form submission was created
175 175
      *
176
-     * @param datetime $created
176
+     * @param DateTime $created
177 177
      *
178 178
      * @return FormSubmission
179 179
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace Kunstmaan\FormBundle\Entity;
4 4
 
5 5
 use DateTime;
6
-
7 6
 use Doctrine\Common\Collections\ArrayCollection;
8 7
 use Doctrine\ORM\Mapping as ORM;
9
-
10 8
 use Kunstmaan\AdminBundle\Entity\EntityInterface;
11 9
 use Kunstmaan\NodeBundle\Entity\Node;
12 10
 
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Entity/FormSubmissionField.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * Get id
69 69
      *
70
-     * @return integer
70
+     * @return string
71 71
      */
72 72
     public function getId()
73 73
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     /**
164 164
      * Get sequence
165 165
      *
166
-     * @return integer
166
+     * @return string
167 167
      */
168 168
     public function getSequence()
169 169
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Kunstmaan\FormBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6
-
7 6
 use Symfony\Component\DependencyInjection\ContainerInterface;
8 7
 use Symfony\Component\Form\Form;
9 8
 use Symfony\Component\Form\FormBuilderInterface;
Please login to merge, or discard this patch.
FormBundle/Entity/FormSubmissionFieldTypes/FileFormSubmissionField.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@  discard block
 block discarded – undo
3 3
 namespace Kunstmaan\FormBundle\Entity\FormSubmissionFieldTypes;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6
-
7 6
 use Gedmo\Sluggable\Util\Urlizer;
8
-
9 7
 use Kunstmaan\FormBundle\Entity\FormSubmissionField;
10 8
 use Kunstmaan\FormBundle\Form\FileFormSubmissionType;
11 9
 use Symfony\Component\DependencyInjection\ContainerInterface;
@@ -13,7 +11,6 @@  discard block
 block discarded – undo
13 11
 use Symfony\Component\Form\FormBuilderInterface;
14 12
 use Symfony\Component\HttpFoundation\File\UploadedFile;
15 13
 use Symfony\Component\HttpFoundation\Request;
16
-
17 14
 use Symfony\Component\Validator\Constraints as Assert;
18 15
 
19 16
 /**
Please login to merge, or discard this patch.