Completed
Pull Request — 5.6 (#2832)
by Jeroen
25:30 queued 10:47
created
src/Kunstmaan/SearchBundle/Provider/SearchProviderChainInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -8,6 +8,7 @@
 block discarded – undo
8 8
      * Add a SearchProvider to the chain
9 9
      *
10 10
      * @param string $alias
11
+     * @return void
11 12
      */
12 13
     public function addProvider(SearchProviderInterface $provider, $alias);
13 14
 
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Tests/Helper/VersionCheck/VersionCheckTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @return \PHPUnit\Framework\MockObject\MockObject|VersionChecker
45
+     * @return string
46 46
      */
47 47
     public function setUpVersionCheckerMock(?array $methods)
48 48
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/Controller/AdminListController.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * You can override this method to return the correct entity manager when using multiple databases ...
35 35
      *
36
-     * @return \Doctrine\Common\Persistence\ObjectManager|object
36
+     * @return \Doctrine\Persistence\ObjectManager
37 37
      */
38 38
     protected function getEntityManager()
39 39
     {
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * Shows the list of entities
45 45
      *
46
-     * @param Request|null $request
46
+     * @param Request $request
47 47
      *
48 48
      * @return Response
49 49
      */
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      *
92 92
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
93 93
      * @param string                        $type         The type to add
94
-     * @param Request|null                  $request
94
+     * @param Request                  $request
95 95
      *
96 96
      * @throws AccessDeniedHttpException
97 97
      *
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      *
187 187
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
188 188
      * @param string                        $entityId     The id of the entity that will be edited
189
-     * @param Request|null                  $request
189
+     * @param Request                  $request
190 190
      *
191 191
      * @throws NotFoundHttpException
192 192
      * @throws AccessDeniedHttpException
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
      *
341 341
      * @param AbstractAdminListConfigurator $configurator The adminlist configurator
342 342
      * @param int                           $entityId     The id to delete
343
-     * @param Request|null                  $request
343
+     * @param Request                  $request
344 344
      *
345 345
      * @throws NotFoundHttpException
346 346
      * @throws AccessDeniedHttpException
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
 class URLChooserLinkTypeSubscriber implements EventSubscriberInterface
15 14
 {
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
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     protected $em;
21 21
 
22 22
     /**
23
-     * @param object $em entity manager
23
+     * @param EntityManager $em entity manager
24 24
      */
25 25
     public function __construct(EntityManager $em)
26 26
     {
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      *
33 33
      * @param Event $event event
34 34
      *
35
-     * @return Repository
35
+     * @return \Doctrine\Persistence\ObjectRepository|null
36 36
      */
37 37
     public function getRepositoryForEvent($event)
38 38
     {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      *
67 67
      * @param string $name name
68 68
      *
69
-     * @return Repository
69
+     * @return \Doctrine\Persistence\ObjectRepository
70 70
      */
71 71
     protected function getRepository($name)
72 72
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/EventListener/ConsoleExceptionSubscriber.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -37,6 +37,10 @@
 block discarded – undo
37 37
         }
38 38
     }
39 39
 
40
+    /**
41
+     * @param \Symfony\Component\Console\Command\Command $command
42
+     * @param \Throwable $error
43
+     */
40 44
     private function logCommandError($command, $error)
41 45
     {
42 46
         $message = sprintf(
Please login to merge, or discard this patch.
src/Kunstmaan/AdminBundle/Form/UserType.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,8 @@
 block discarded – undo
27 27
     /**
28 28
      * Setter to check if we can display all form fields
29 29
      *
30
-     * @return bool
30
+     * @param boolean $canEditAllFields
31
+     * @return boolean|null
31 32
      */
32 33
     public function setCanEditAllFields($canEditAllFields)
33 34
     {
Please login to merge, or discard this patch.
src/Kunstmaan/ArticleBundle/Entity/AbstractArticlePage.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,6 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * Set the summary of this article
51
+     * @param string $summary
51 52
      */
52 53
     public function setSummary($summary)
53 54
     {
@@ -86,7 +87,7 @@  discard block
 block discarded – undo
86 87
     }
87 88
 
88 89
     /**
89
-     * @return array
90
+     * @return AbstractArticlePagePagePartAdminConfigurator[]
90 91
      */
91 92
     public function getPagePartAdminConfigurations()
92 93
     {
Please login to merge, or discard this patch.
src/Kunstmaan/ArticleBundle/Entity/AbstractAuthor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
         return $this->name;
45 45
     }
46 46
 
47
+    /**
48
+     * @param string $link
49
+     */
47 50
     public function setLink($link)
48 51
     {
49 52
         $this->link = $link;
Please login to merge, or discard this patch.