Completed
Pull Request — 5.6 (#2833)
by Oskar
26:33 queued 11:27
created
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.
DashboardBundle/Command/Helper/Analytics/AbstractAnalyticsCommandHelper.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -20,6 +20,10 @@  discard block
 block discarded – undo
20 20
     /** @var OutputInterface */
21 21
     protected $output;
22 22
 
23
+    /**
24
+     * @param OutputInterface $output
25
+     * @param \Doctrine\ORM\EntityManagerInterface $em
26
+     */
23 27
     public function __construct($configHelper, $queryHelper, $output, $em)
24 28
     {
25 29
         $this->configHelper = $configHelper;
@@ -68,6 +72,7 @@  discard block
 block discarded – undo
68 72
     /**
69 73
      * Executes the query
70 74
      *
75
+     * @param string $metrics
71 76
      * @return array the resultset
72 77
      */
73 78
     protected function executeQuery(AnalyticsOverview $overview, $metrics)
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Helper/RemoteVideo/RemoteVideoHandler.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
      * Takes the configuration of the RemoveVideoHandler
30 30
      *
31 31
      * @param array $configuration
32
+     * @param integer $priority
32 33
      */
33 34
     public function __construct($priority, $configuration = [])
34 35
     {
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Repository/FolderRepository.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     /**
121 121
      * @param int $folderId
122 122
      *
123
-     * @return object
123
+     * @return Folder
124 124
      *
125 125
      * @throws EntityNotFoundException
126 126
      */
@@ -158,6 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
     /**
160 160
      * {@inheritdoc}
161
+     * @param Folder $node
161 162
      */
162 163
     public function getPathQueryBuilder($node)
163 164
     {
@@ -326,6 +327,9 @@  discard block
 block discarded – undo
326 327
         return $qb;
327 328
     }
328 329
 
330
+    /**
331
+     * @param Folder $parent
332
+     */
329 333
     private function persistInOrderedTree(Folder $folder, $parent)
330 334
     {
331 335
         // Find where to insert the new item
Please login to merge, or discard this patch.