Completed
Push — master ( 5d5be7...41f59e )
by Jeroen
13:01
created
src/Kunstmaan/TranslatorBundle/Model/Translation/TranslationGroup.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @return mixed
106
+     * @return string
107 107
      */
108 108
     public function getId()
109 109
     {
Please login to merge, or discard this patch.
Tests/unit/EventListener/NodeIndexUpdateEventListenerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -146,6 +146,9 @@  discard block
 block discarded – undo
146 146
         new NodeIndexUpdateEventListener($this->getContainer($this->getSearchConfiguration(false)), $em);
147 147
     }
148 148
 
149
+    /**
150
+     * @param \PHPUnit\Framework\MockObject\MockObject $searchConfigMock
151
+     */
149 152
     private function getContainer($searchConfigMock)
150 153
     {
151 154
         $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
@@ -160,6 +163,9 @@  discard block
 block discarded – undo
160 163
         return $container;
161 164
     }
162 165
 
166
+    /**
167
+     * @param boolean $expectCall
168
+     */
163 169
     private function getSearchConfiguration($expectCall)
164 170
     {
165 171
         $searchConfig = $this->createMock(NodePagesConfiguration::class);
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Controller/TagAdminListController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Kunstmaan/NodeBundle/Form/EventListener/URLChooserFormSubscriber.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Kunstmaan/NodeBundle/Form/EventListener/URLChooserLinkTypeSubscriber.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Symfony\Component\Form\FormEvent;
10 10
 use Symfony\Component\Form\FormEvents;
11 11
 use Symfony\Component\Validator\Constraints\Email;
12
-use Symfony\Component\Validator\Constraints\Url;
13 12
 
14 13
 /**
15 14
  * Class URLChooserLinkTypeSubscriber
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Controller/TranslatorController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
      *
235 235
      * @Route("/export.{_format}", requirements={"_format" = "csv|ods|xlsx"}, name="KunstmaanTranslatorBundle_settings_translations_export", methods={"GET", "POST"})
236 236
      *
237
-     * @return array
237
+     * @return Response
238 238
      */
239 239
     public function exportAction(Request $request, $_format)
240 240
     {
Please login to merge, or discard this patch.
Kunstmaan/TranslatorBundle/AdminList/TranslationAdminListConfigurator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@
 block discarded – undo
89 89
         return $this->exportFields;
90 90
     }
91 91
 
92
+    /**
93
+     * @param string $header
94
+     */
92 95
     public function addExportField($name, $header, $template = null, FieldAlias $alias = null)
93 96
     {
94 97
         $this->exportFields[] = new Field($name, $header);
Please login to merge, or discard this patch.
src/Kunstmaan/UserManagementBundle/Controller/UsersController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
      *
220 220
      * @Route("/{id}/delete", requirements={"id" = "\d+"}, name="KunstmaanUserManagementBundle_settings_users_delete", methods={"POST"})
221 221
      *
222
-     * @return array
222
+     * @return RedirectResponse
223 223
      *
224 224
      * @throws AccessDeniedException
225 225
      *
Please login to merge, or discard this patch.
src/Kunstmaan/VotingBundle/Services/RepositoryResolver.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Constructor
24 24
      *
25
-     * @param object $em entity manager
25
+     * @param EntityManager $em entity manager
26 26
      */
27 27
     public function __construct(EntityManager $em)
28 28
     {
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @param Event $event event
36 36
      *
37
-     * @return Repository
37
+     * @return \Doctrine\Persistence\ObjectRepository|null
38 38
      */
39 39
     public function getRepositoryForEvent($event)
40 40
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      *
69 69
      * @param string $name name
70 70
      *
71
-     * @return Repository
71
+     * @return \Doctrine\Persistence\ObjectRepository
72 72
      */
73 73
     protected function getRepository($name)
74 74
     {
Please login to merge, or discard this patch.