@@ -77,7 +77,7 @@ |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @return mixed |
|
80 | + * @return Fixture[] |
|
81 | 81 | */ |
82 | 82 | public function getFixtures() |
83 | 83 | { |
@@ -25,6 +25,9 @@ |
||
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 = []; |
@@ -74,6 +74,9 @@ discard block |
||
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 |
||
89 | 92 | } |
90 | 93 | |
91 | 94 | /** |
92 | - * @param $parameters |
|
95 | + * @param \ReflectionParameter[] $parameters |
|
93 | 96 | * @param $additional |
94 | 97 | * @return array |
95 | 98 | */ |
@@ -11,7 +11,7 @@ |
||
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 | { |
@@ -12,6 +12,7 @@ discard block |
||
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 |
||
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 | } |
@@ -118,7 +118,7 @@ |
||
118 | 118 | * |
119 | 119 | * @param array $params |
120 | 120 | * |
121 | - * @return array |
|
121 | + * @return string |
|
122 | 122 | */ |
123 | 123 | public function getAddUrlFor(array $params = array()) |
124 | 124 | { |
@@ -11,7 +11,7 @@ |
||
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 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\FormBundle\Entity; |
4 | 4 | |
5 | 5 | use ArrayObject; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormBuilderInterface; |
8 | 7 | |
9 | 8 | /** |
@@ -77,7 +77,7 @@ discard block |
||
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 |
||
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 | */ |
@@ -3,10 +3,8 @@ |
||
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 |