Completed
Pull Request — develop (#509)
by ANTHONIUS
21:03
created
module/Organizations/src/Repository/Organization.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     /**
107 107
      * Finds the main organization of an user.
108 108
      *
109
-     * @param string|UserInterface $userOrId
109
+     * @param string $userOrId
110 110
      *
111 111
      * @return null|OrganizationInterface
112 112
      */
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     /**
143 143
      * Finds the organization, an user is employed by.
144 144
      *
145
-     * @param string|UserInterface $userOrId
145
+     * @param string $userOrId
146 146
      *
147 147
      * @return null|OrganizationInterface
148 148
      */
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     /**
271 271
      * Look for an drafted Document of a given user
272 272
      *
273
-     * @param $user
273
+     * @param \Auth\Entity\AnonymousUser $user
274 274
      * @return \Organizations\Entity\Organization|null
275 275
      */
276 276
     public function findDraft($user)
Please login to merge, or discard this patch.
module/Organizations/src/Repository/OrganizationName.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 
15 15
 class OrganizationName extends AbstractRepository
16 16
 {
17
+    /**
18
+     * @param string $name
19
+     */
17 20
     public function findbyName($name, $create = true)
18 21
     {
19 22
         $entity = $this->findOneBy(array('name' => $name));
Please login to merge, or discard this patch.
module/Pdf/src/Module.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * give a summary of all inserted Files,
166 166
      * this is for having access to those files in the post-process
167
-     * @param \Core\View\Helper\InsertFile\FileEvent|\Zend\View\ViewEvent $e
167
+     * @param FileEvent $e
168 168
      * @return NULL
169 169
      */
170 170
     public function collectFiles(FileEvent $e)
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
      *
314 314
      * @param string $name
315 315
      * @param \Zend\View\Renderer\RendererInterface $renderer
316
-     * @return string|boolean
316
+     * @return string|false
317 317
      */
318 318
     public function resolve($name, Renderer $renderer = null)
319 319
     {
Please login to merge, or discard this patch.
module/Settings/src/Entity/SettingsContainer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param bool  $recursive
28
-     * @param array $skipMembers
28
+     * @param string[] $skipMembers
29 29
      *
30 30
      * @return $this
31 31
      */
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     }
131 131
 
132 132
     /**
133
-     * @param $property
133
+     * @param string $property
134 134
      *
135 135
      * @return null
136 136
      */
Please login to merge, or discard this patch.
module/Settings/src/Form/FormAbstract.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -31,6 +31,11 @@  discard block
 block discarded – undo
31 31
         return $this->hydrator;
32 32
     }
33 33
     
34
+    /**
35
+     * @param string $name
36
+     *
37
+     * @return callable
38
+     */
34 39
     protected function getPlugin($name)
35 40
     {
36 41
         $plugin = null;
@@ -69,6 +74,9 @@  discard block
 block discarded – undo
69 74
         $this->add($this->formManager->get('DefaultButtonsFieldset'));
70 75
     }
71 76
     
77
+    /**
78
+     * @return string
79
+     */
72 80
     abstract public function getCoreFieldset();
73 81
     
74 82
     /**
Please login to merge, or discard this patch.
module/Settings/src/Repository/Settings.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,6 @@
 block discarded – undo
44 44
     
45 45
     /**
46 46
      * the $id for an entity 'setting' is the same as for the entity 'user'
47
-     * @param type $id
48 47
      */
49 48
     public function getSettingsByUser($user)
50 49
     {
Please login to merge, or discard this patch.
module/Core/src/Application.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * Get required modules for Yawik
61 61
      *
62
-     * @return array
62
+     * @return string[]
63 63
      */
64 64
     public static function getRequiredModules()
65 65
     {
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 
194 194
     /**
195 195
      * Setup php server
196
-     * @return bool
196
+     * @return null|boolean
197 197
      * @codeCoverageIgnore
198 198
      */
199 199
     public static function setupCliServerEnv()
Please login to merge, or discard this patch.
module/Core/src/Service/ClearCacheService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -156,6 +156,9 @@
 block discarded – undo
156 156
         }
157 157
     }
158 158
 
159
+    /**
160
+     * @param string $message
161
+     */
159 162
     private function log($message)
160 163
     {
161 164
         $io = $this->io;
Please login to merge, or discard this patch.