Completed
Pull Request — develop (#501)
by ANTHONIUS
10:57
created
module/Core/src/Entity/Permissions.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -353,6 +353,9 @@
 block discarded – undo
353 353
         return $this;
354 354
     }
355 355
     
356
+    /**
357
+     * @param string $permission
358
+     */
356 359
     private function checkIsGranted($userId, $permission)
357 360
     {
358 361
         if (!$userId) {
Please login to merge, or discard this patch.
module/Core/src/Entity/Snapshot.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * @param $data
26
-     * @return mixed
26
+     * @return Snapshot
27 27
      * @ODM\PreUpdate
28 28
      */
29 29
     public function __invoke($data)
Please login to merge, or discard this patch.
module/Core/src/Entity/SnapshotTrait.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -77,6 +77,9 @@  discard block
 block discarded – undo
77 77
         return $return === $entity ? $this : $return;
78 78
     }
79 79
 
80
+    /**
81
+     * @param string $method
82
+     */
80 83
     protected function proxyClone($method, ...$args)
81 84
     {
82 85
         $value = $this->proxy($method, ...$args);
@@ -85,6 +88,9 @@  discard block
 block discarded – undo
85 88
         return $return;
86 89
     }
87 90
 
91
+    /**
92
+     * @param string $property
93
+     */
88 94
     protected function inaccessible($property)
89 95
     {
90 96
         throw new \DomainException(sprintf(
@@ -93,6 +99,9 @@  discard block
 block discarded – undo
93 99
         ));
94 100
     }
95 101
 
102
+    /**
103
+     * @param string $property
104
+     */
96 105
     protected function immutable($property)
97 106
     {
98 107
         throw new ImmutablePropertyException($property, $this);
Please login to merge, or discard this patch.
module/Core/src/Entity/Tree/Node.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@
 block discarded – undo
69 69
      */
70 70
     protected $parent;
71 71
 
72
+    /**
73
+     * @param string $value
74
+     */
72 75
     final public static function filterValue($value)
73 76
     {
74 77
         $value = mb_strtolower($value);
Please login to merge, or discard this patch.
module/Core/src/Factory/EventManager/EventManagerAbstractFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      * @param  string             $requestedName
114 114
      * @param  null|array         $options
115 115
      *
116
-     * @return object
116
+     * @return \Zend\EventManager\EventManagerInterface
117 117
      * @throws ServiceNotFoundException if unable to resolve the service.
118 118
      * @throws ServiceNotCreatedException if an exception is raised when
119 119
      *     creating a service.
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
      * @param string|array $options String is either event name or aggregate name (when name is int).
334 334
      *                              Array are the options from config. [ [event,..], method, priority, lazy]
335 335
      *
336
-     * @return array
336
+     * @return \Zend\EventManager\EventManagerInterface
337 337
      */
338 338
     protected function normalizeListenerOptions($name, $options)
339 339
     {
Please login to merge, or discard this patch.
module/Core/src/Factory/OptionsAbstractFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
      *
177 177
      * @param string $fullName
178 178
      *
179
-     * @return array|bool
179
+     * @return string
180 180
      */
181 181
     protected function getOptionsConfig($fullName)
182 182
     {
Please login to merge, or discard this patch.
module/Core/src/Factory/Service/RestClientFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @return mixed
61
+     * @return null|string
62 62
      */
63 63
     abstract protected function getUri();
64 64
 
Please login to merge, or discard this patch.
module/Core/src/Filter/File/Entity.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-     * @return mixed
41
+     * @return \Auth\Entity\UserInterface
42 42
      */
43 43
     public function getUser()
44 44
     {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     }
69 69
 
70 70
     /**
71
-     * @param mixed $repositories
71
+     * @param mixed $repository
72 72
      *
73 73
      * @return self
74 74
      */
Please login to merge, or discard this patch.
module/Core/src/Form/CollectionContainer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
     
180 180
     /**
181 181
      * @throws \RuntimeException
182
-     * @return Collection
182
+     * @return \Core\Entity\EntityInterface
183 183
      */
184 184
     protected function getCollection()
185 185
     {
Please login to merge, or discard this patch.