Completed
Pull Request — master (#2657)
by Jeroen
06:22
created
src/Kunstmaan/AdminBundle/Helper/Security/OAuth/OAuthUserFinder.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -26,6 +26,8 @@
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * {@inheritdoc}
29
+     * @param string $email
30
+     * @param integer $googleId
29 31
      */
30 32
     public function findUserByGoogleSignInData($email, $googleId)
31 33
     {
Please login to merge, or discard this patch.
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.
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
 
@@ -93,6 +96,9 @@  discard block
 block discarded – undo
93 96
      */
94 97
     public function canEdit($item);
95 98
 
99
+    /**
100
+     * @return boolean
101
+     */
96 102
     public function canView($item);
97 103
 
98 104
     /**
@@ -226,6 +232,7 @@  discard block
 block discarded – undo
226 232
      * Bind request
227 233
      *
228 234
      * @param Request $request
235
+     * @return void
229 236
      */
230 237
     public function bindRequest(Request $request);
231 238
 
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
@@ -13,6 +13,7 @@  discard block
 block discarded – undo
13 13
      * Bind current request.
14 14
      *
15 15
      * @param Request $request
16
+     * @return void
16 17
      */
17 18
     public function bindRequest(Request $request);
18 19
 
@@ -22,7 +23,7 @@  discard block
 block discarded – undo
22 23
     public function getLimit();
23 24
 
24 25
     /**
25
-     * @return array
26
+     * @return integer[]
26 27
      */
27 28
     public function getLimitOptions();
28 29
 }
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
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
     /**
11 11
      * FieldAlias constructor.
12 12
      *
13
-     * @param $abbr string
14
-     * @param $relation string
13
+     * @param string $abbr string
14
+     * @param string $relation string
15 15
      */
16 16
     public function __construct($abbr, $relation)
17 17
     {
Please login to merge, or discard this patch.
src/Kunstmaan/AdminListBundle/Exception/ExportException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * Construct Exception.
15 15
      *
16 16
      * @param string     $message  Message
17
-     * @param mixed      $data
17
+     * @param string      $data
18 18
      * @param int        $code
19 19
      * @param \Throwable $previous
20 20
      */
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);
@@ -146,7 +150,7 @@  discard block
 block discarded – undo
146 150
      * @param LockableEntity $entity
147 151
      * @param User           $userToExclude
148 152
      *
149
-     * @return EntityVersionLock[]
153
+     * @return \Kunstmaan\AdminListBundle\Repository\EntityVersionLock[]
150 154
      */
151 155
     protected function getEntityVersionLocksByLockableEntity(LockableEntity $entity, User $userToExclude = null)
152 156
     {
Please login to merge, or discard this patch.
src/Kunstmaan/ArticleBundle/Entity/AbstractArticlePage.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Set the summary of this article
51 51
      *
52
-     * @param $summary
52
+     * @param string $summary
53 53
      */
54 54
     public function setSummary($summary)
55 55
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     }
89 89
 
90 90
     /**
91
-     * @return array
91
+     * @return AbstractArticlePagePagePartAdminConfigurator[]
92 92
      */
93 93
     public function getPagePartAdminConfigurations()
94 94
     {
Please login to merge, or discard this patch.
DashboardBundle/Command/Helper/Analytics/AbstractAnalyticsCommandHelper.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
      *
26 26
      * @param $configHelper
27 27
      * @param $queryHelper
28
-     * @param $output
29
-     * @param $em
28
+     * @param OutputInterface $output
29
+     * @param \Doctrine\ORM\EntityManagerInterface $em
30 30
      */
31 31
     public function __construct($configHelper, $queryHelper, $output, $em)
32 32
     {
@@ -80,6 +80,7 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * Executes the query
82 82
      *
83
+     * @param string $metrics
83 84
      * @return array the resultset
84 85
      */
85 86
     protected function executeQuery(AnalyticsOverview $overview, $metrics)
Please login to merge, or discard this patch.