@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * @param mixed $clonedEntity |
|
33 | + * @param \stdClass $clonedEntity |
|
34 | 34 | * |
35 | 35 | * @return DeepCloneAndSaveEvent |
36 | 36 | */ |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
53 | - * @param mixed $entity |
|
53 | + * @param \stdClass $entity |
|
54 | 54 | * |
55 | 55 | * @return DeepCloneAndSaveEvent |
56 | 56 | */ |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | /** |
147 | 147 | * Return entity manager mock |
148 | 148 | * |
149 | - * @return EntityManager |
|
149 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
150 | 150 | */ |
151 | 151 | public function getEntityManager() |
152 | 152 | { |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | /** |
159 | 159 | * Return alc provider mock |
160 | 160 | * |
161 | - * @return AclProviderInterface |
|
161 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
162 | 162 | */ |
163 | 163 | public function getAclProvider() |
164 | 164 | { |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | /** |
169 | 169 | * Return security token storage |
170 | 170 | * |
171 | - * @return TokenStorageInterface |
|
171 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
172 | 172 | */ |
173 | 173 | public function getTokenStorage() |
174 | 174 | { |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | /** |
179 | 179 | * Return oid retrieval strategy mock |
180 | 180 | * |
181 | - * @return ObjectIdentityRetrievalStrategyInterface |
|
181 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
182 | 182 | */ |
183 | 183 | public function getOidRetrievalStrategy() |
184 | 184 | { |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | } |
205 | 205 | |
206 | 206 | /** |
207 | - * @return KernelInterface |
|
207 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
208 | 208 | */ |
209 | 209 | public function getKernel() |
210 | 210 | { |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | /** |
267 | 267 | * Return entity mock |
268 | 268 | * |
269 | - * @return AbstractEntity |
|
269 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
270 | 270 | */ |
271 | 271 | public function getEntity() |
272 | 272 | { |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | /** |
29 | - * @param mixed $node |
|
29 | + * @param \Kunstmaan\NodeBundle\Entity\Node $node |
|
30 | 30 | */ |
31 | 31 | public function setNode($node) |
32 | 32 | { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @param mixed $nodeTranslation |
|
47 | + * @param \Kunstmaan\NodeBundle\Entity\NodeTranslation $nodeTranslation |
|
48 | 48 | */ |
49 | 49 | public function setNodeTranslation($nodeTranslation) |
50 | 50 | { |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | /** |
83 | - * @param mixed $request |
|
83 | + * @param \Symfony\Component\HttpFoundation\Request $request |
|
84 | 84 | */ |
85 | 85 | public function setRequest($request) |
86 | 86 | { |
@@ -35,6 +35,9 @@ |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param ContainerInterface|string $multilanguage |
38 | + * @param \PHPUnit\Framework\MockObject\MockObject $requestStack |
|
39 | + * @param string $defaultLocale |
|
40 | + * @param string $requiredLocales |
|
38 | 41 | */ |
39 | 42 | public function __construct(/*ContainerInterface|RequestStack*/ $requestStack, $multilanguage = null, $defaultLocale = null, $requiredLocales = null, AdminRouteHelper $adminRouteHelper = null, EntityManagerInterface $em = null, array $hosts = null) |
40 | 43 | { |
@@ -95,6 +95,9 @@ |
||
95 | 95 | return $domainConfiguration; |
96 | 96 | } |
97 | 97 | |
98 | + /** |
|
99 | + * @param NodeTranslation $nodeTranslation |
|
100 | + */ |
|
98 | 101 | private function getEntityManager($nodeTranslation = null) |
99 | 102 | { |
100 | 103 | $em = $this->createMock('Doctrine\ORM\EntityManagerInterface'); |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | class MediaTokenTransformer implements DataTransformerInterface |
12 | 12 | { |
13 | 13 | /** |
14 | - * @param mixed $content |
|
14 | + * @param string $content |
|
15 | 15 | * |
16 | 16 | * @return string |
17 | 17 | */ |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @param mixed $content |
|
47 | + * @param string $content |
|
48 | 48 | * |
49 | 49 | * @return string |
50 | 50 | */ |
@@ -41,7 +41,7 @@ |
||
41 | 41 | * @Route("/add", name="kunstmaantaggingbundle_admin_tag_add", methods={"GET", "POST"}) |
42 | 42 | * @Template("@KunstmaanAdminList/Default/add.html.twig") |
43 | 43 | * |
44 | - * @return array |
|
44 | + * @return \Symfony\Component\HttpFoundation\Response |
|
45 | 45 | */ |
46 | 46 | public function addAction(Request $request) |
47 | 47 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * @param Swift_Mailer $mailer |
29 | 29 | * @param EngineInterface $twig |
30 | - * @param ContainerInterface|RequestStack $requestStack |
|
30 | + * @param \PHPUnit\Framework\MockObject\MockObject $requestStack |
|
31 | 31 | */ |
32 | 32 | public function __construct(Swift_Mailer $mailer, /*Environment*/ $twig, /*RequestStack*/ $requestStack) |
33 | 33 | { |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Symfony\Component\Form\FormEvent; |
11 | 11 | use Symfony\Component\Form\FormEvents; |
12 | 12 | use Symfony\Component\Validator\Constraints\Email; |
13 | -use Symfony\Component\Validator\Constraints\Url; |
|
14 | 13 | |
15 | 14 | class URLChooserFormSubscriber implements EventSubscriberInterface |
16 | 15 | { |