Completed
Pull Request — 5.6 (#2833)
by Oskar
22:33 queued 07:25
created
AdminListBundle/AdminList/Configurator/AdminListConfiguratorInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -23,16 +23,19 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * Configure the fields you can filter on
26
+     * @return void
26 27
      */
27 28
     public function buildFilters();
28 29
 
29 30
     /**
30 31
      * Configure the actions for each item
32
+     * @return void
31 33
      */
32 34
     public function buildItemActions();
33 35
 
34 36
     /**
35 37
      * Configure the actions that can be executed on the whole list
38
+     * @return void
36 39
      */
37 40
     public function buildListActions();
38 41
 
@@ -100,6 +103,9 @@  discard block
 block discarded – undo
100 103
      */
101 104
     public function canEdit($item);
102 105
 
106
+    /**
107
+     * @return boolean
108
+     */
103 109
     public function canView($item);
104 110
 
105 111
     /**
@@ -231,6 +237,7 @@  discard block
 block discarded – undo
231 237
 
232 238
     /**
233 239
      * Bind request
240
+     * @return void
234 241
      */
235 242
     public function bindRequest(Request $request);
236 243
 
Please login to merge, or discard this patch.
AdminListBundle/AdminList/Configurator/ChangeableLimitInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,7 @@  discard block
 block discarded – undo
11 11
 {
12 12
     /**
13 13
      * Bind current request.
14
+     * @return void
14 15
      */
15 16
     public function bindRequest(Request $request);
16 17
 
@@ -20,7 +21,7 @@  discard block
 block discarded – undo
20 21
     public function getLimit();
21 22
 
22 23
     /**
23
-     * @return array
24
+     * @return integer[]
24 25
      */
25 26
     public function getLimitOptions();
26 27
 }
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/AdminList/Field.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -102,6 +102,9 @@  discard block
 block discarded – undo
102 102
         return true;
103 103
     }
104 104
 
105
+    /**
106
+     * @param \stdClass $item
107
+     */
105 108
     public function getAliasObj($item)
106 109
     {
107 110
         $relation = $this->alias->getRelation();
@@ -114,6 +117,9 @@  discard block
 block discarded – undo
114 117
         return $item;
115 118
     }
116 119
 
120
+    /**
121
+     * @param string $column
122
+     */
117 123
     public function getColumnName($column)
118 124
     {
119 125
         $abbr = $this->alias->getAbbr() . '.';
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/Service/EntityVersionLockService.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,10 @@  discard block
 block discarded – undo
26 26
      */
27 27
     private $lockEnabled;
28 28
 
29
+    /**
30
+     * @param integer $threshold
31
+     * @param boolean $lockEnabled
32
+     */
29 33
     public function __construct(ObjectManager $em, $threshold, $lockEnabled)
30 34
     {
31 35
         $this->setObjectManager($em);
@@ -133,7 +137,7 @@  discard block
 block discarded – undo
133 137
      *
134 138
      * @param User $userToExclude
135 139
      *
136
-     * @return EntityVersionLock[]
140
+     * @return \Kunstmaan\AdminListBundle\Repository\EntityVersionLock[]
137 141
      */
138 142
     protected function getEntityVersionLocksByLockableEntity(LockableEntity $entity, User $userToExclude = null)
139 143
     {
Please login to merge, or discard this patch.
src/Kunstmaan/ConfigBundle/Controller/ConfigController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@
 block discarded – undo
53 53
 
54 54
     /**
55 55
      * @param EngineInterface|Environment $twig
56
-     * @param ContainerInterface          $container
57 56
      * @param FormFactoryInterface        $formFactory
58 57
      */
59 58
     public function __construct(
Please login to merge, or discard this patch.
src/Kunstmaan/DashboardBundle/Controller/DashboardController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      *
16 16
      * @Route("/", name="kunstmaan_dashboard")
17 17
      *
18
-     * @return array
18
+     * @return \Symfony\Component\HttpFoundation\Response
19 19
      */
20 20
     public function indexAction(Request $request)
21 21
     {
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/AdminList/FormPageAdminListConfigurator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Return the url to edit the given $item
78 78
      *
79
-     * @param mixed $item
79
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
80 80
      *
81 81
      * @return array
82 82
      */
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * Configure the types of items you can add
118 118
      *
119
-     * @return array
119
+     * @return string
120 120
      */
121 121
     public function getAddUrlFor(array $params = [])
122 122
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * Configure if it's possible to delete the given $item
128 128
      *
129
-     * @param mixed $item
129
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
130 130
      *
131 131
      * @return bool
132 132
      */
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * Get the delete url for the given $item
140 140
      *
141
-     * @param mixed $item
141
+     * @param \PHPUnit\Framework\MockObject\MockObject $item
142 142
      *
143 143
      * @return array
144 144
      */
Please login to merge, or discard this patch.
src/Kunstmaan/FormBundle/Helper/FormMailer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @param EngineInterface                 $twig
29
-     * @param ContainerInterface|RequestStack $requestStack
29
+     * @param \PHPUnit\Framework\MockObject\MockObject $requestStack
30 30
      */
31 31
     public function __construct(Swift_Mailer $mailer, /*Environment*/ $twig, /*RequestStack*/ $requestStack)
32 32
     {
Please login to merge, or discard this patch.
src/Kunstmaan/GeneratorBundle/Command/KunstmaanGenerateCommand.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
      *
614 614
      * @param bool $niceNames
615 615
      *
616
-     * @return array
616
+     * @return string[]
617 617
      */
618 618
     private function getTypes($niceNames = false)
619 619
     {
@@ -641,7 +641,7 @@  discard block
 block discarded – undo
641 641
     /**
642 642
      * Get all available media types.
643 643
      *
644
-     * @return array
644
+     * @return string[]
645 645
      */
646 646
     private function getMediaTypes()
647 647
     {
@@ -660,7 +660,7 @@  discard block
 block discarded – undo
660 660
      * Get all the entity fields for a specific type.
661 661
      *
662 662
      * @param      $objectName
663
-     * @param      $prefix
663
+     * @param      string $prefix
664 664
      * @param      $name
665 665
      * @param      $type
666 666
      * @param null $extra
Please login to merge, or discard this patch.