Completed
Pull Request — master (#142)
by Helpful
02:11
created
code/Commenting.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
      * @param string $class
126 126
      * @param string $key
127 127
      * @param string $value Expected value
128
-     * @return boolean
128
+     * @return boolean|null
129 129
      */
130 130
     public static function config_value_equals($class, $key, $value)
131 131
     {
Please login to merge, or discard this patch.
code/controllers/CommentingController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
      * Get the commenting option for the current state
127 127
      *
128 128
      * @param string $key
129
-     * @return mixed Result if the setting is available, or null otherwise
129
+     * @return integer Result if the setting is available, or null otherwise
130 130
      */
131 131
     public function getOption($key)
132 132
     {
Please login to merge, or discard this patch.
code/model/Comment.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
      *
207 207
      * @param string $key
208 208
      *
209
-     * @return mixed Result if the setting is available, or null otherwise
209
+     * @return integer Result if the setting is available, or null otherwise
210 210
      */
211 211
     public function getOption($key)
212 212
     {
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
     /**
334 334
      * Checks if the comment can be edited.
335 335
      *
336
-     * @param null|int|Member $member
336
+     * @param DataObject|null $member
337 337
      *
338 338
      * @return Boolean
339 339
      */
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
     /**
365 365
      * Checks if the comment can be deleted.
366 366
      *
367
-     * @param null|int|Member $member
367
+     * @param Member|null $member
368 368
      *
369 369
      * @return Boolean
370 370
      */
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
      * Resolves Member object.
389 389
      *
390 390
      * @param Member|int|null $member
391
-     * @return Member|null
391
+     * @return DataObject|null
392 392
      */
393 393
     protected function getMember($member = null)
394 394
     {
Please login to merge, or discard this patch.