Completed
Pull Request — 5.0 (#2177)
by
unknown
13:31
created
src/Kunstmaan/AdminListBundle/AdminList/BulkAction/SimpleBulkAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     private $template;
30 30
 
31 31
     /**
32
-     * @param array    $url      The url path and parameters
32
+     * @param string[]    $url      The url path and parameters
33 33
      * @param string   $label    The label
34 34
      * @param string   $icon     The icon
35 35
      * @param string   $template The template
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
@@ -103,6 +103,9 @@  discard block
 block discarded – undo
103 103
         return true;
104 104
     }
105 105
 
106
+    /**
107
+     * @param \stdClass $item
108
+     */
106 109
     public function getAliasObj($item)
107 110
     {
108 111
         $relation = $this->alias->getRelation();
@@ -115,6 +118,9 @@  discard block
 block discarded – undo
115 118
         return $item;
116 119
     }
117 120
 
121
+    /**
122
+     * @param string $column
123
+     */
118 124
     public function getColumnName($column)
119 125
     {
120 126
         $abbr = $this->alias->getAbbr().'.';
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/AdminList/FieldAlias.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 {
10 10
     /**
11 11
      * FieldAlias constructor.
12
-     * @param $abbr string
13
-     * @param $relation string
12
+     * @param string $abbr string
13
+     * @param string $relation string
14 14
      */
15 15
     public function __construct($abbr, $relation)
16 16
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/AdminList/ItemAction/SimpleItemAction.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @param mixed $item
63
+     * @param \stdClass $item
64 64
      *
65 65
      * @return string
66 66
      */
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param mixed $item
73
+     * @param \stdClass $item
74 74
      *
75 75
      * @return string
76 76
      */
Please login to merge, or discard this patch.
ArticleBundle/AdminList/AbstractArticlePageAdminListConfigurator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @param mixed $item
117
+     * @param \Kunstmaan\NodeBundle\Helper\NodeMenuItem $item
118 118
      *
119 119
      * @return array
120 120
      */
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     /**
133 133
      * Get the delete url for the given $item
134 134
      *
135
-     * @param object $item
135
+     * @param \Kunstmaan\NodeBundle\Helper\NodeMenuItem $item
136 136
      *
137 137
      * @return array
138 138
      */
Please login to merge, or discard this patch.
ArticleBundle/AdminList/AbstractArticleTagAdminListConfigurator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Kunstmaan\ArticleBundle\AdminList;
4 4
 
5
-use Doctrine\ORM\EntityManager;
6 5
 use Doctrine\ORM\EntityManagerInterface;
7 6
 use Doctrine\ORM\QueryBuilder;
8 7
 use Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper;
Please login to merge, or discard this patch.
src/Kunstmaan/ConfigBundle/Controller/ConfigController.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,6 @@  discard block
 block discarded – undo
59 59
      * @param AuthorizationCheckerInterface $authorizationChecker
60 60
      * @param EntityManagerInterface $em
61 61
      * @param array $configuration
62
-     * @param ContainerInterface $container
63 62
      * @param FormFactoryInterface $formFactory
64 63
      */
65 64
     public function __construct(
@@ -94,7 +93,7 @@  discard block
 block discarded – undo
94 93
      * @param Request $request
95 94
      * @param string $internalName
96 95
      *
97
-     * @return array|RedirectResponse
96
+     * @return \Symfony\Component\HttpFoundation\Response
98 97
      */
99 98
     public function indexAction(Request $request, $internalName)
100 99
     {
Please login to merge, or discard this patch.
src/Kunstmaan/DashboardBundle/Entity/AnalyticsOverview.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      *
158 158
      * @param integer $config
159 159
      *
160
-     * @return AnalyticsTopReferrals
160
+     * @return AnalyticsOverview
161 161
      */
162 162
     public function setConfig($config)
163 163
     {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
      *
182 182
      * @param integer $segment
183 183
      *
184
-     * @return AnalyticsTopReferrals
184
+     * @return AnalyticsOverview
185 185
      */
186 186
     public function setSegment($segment)
187 187
     {
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
     /**
195 195
      * Set goals
196 196
      *
197
-     * @param array $goals
197
+     * @param AnalyticsGoal[] $goals
198 198
      * @return $this
199 199
      */
200 200
     public function setGoals($goals)
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
     /**
495 495
      * Get useYear
496 496
      *
497
-     * @return integer
497
+     * @return boolean
498 498
      */
499 499
     public function getUseYear()
500 500
     {
Please login to merge, or discard this patch.
src/Kunstmaan/MediaBundle/Controller/MediaController.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -287,6 +287,10 @@  discard block
 block discarded – undo
287 287
         return $response;
288 288
     }
289 289
 
290
+    /**
291
+     * @param string $code
292
+     * @param string $message
293
+     */
290 294
     private function returnJsonError($code, $message)
291 295
     {
292 296
 
@@ -471,7 +475,7 @@  discard block
 block discarded – undo
471 475
      * @Route("move/", name="KunstmaanMediaBundle_media_move")
472 476
      * @Method({"POST"})
473 477
      *
474
-     * @return string
478
+     * @return JsonResponse
475 479
      */
476 480
     public function moveMedia(Request $request)
477 481
     {
Please login to merge, or discard this patch.