Completed
Push — master ( 3873e4...e592be )
by Ingo
11:14
created
src/Forms/Form.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -596,6 +596,7 @@  discard block
 block discarded – undo
596 596
      * Set actions that are exempt from validation
597 597
      *
598 598
      * @param array
599
+     * @param string[] $actions
599 600
      * @return $this
600 601
      */
601 602
     public function setValidationExemptActions($actions)
@@ -1045,7 +1046,7 @@  discard block
 block discarded – undo
1045 1046
      * If set to false then the form method is only used to construct the default
1046 1047
      * form.
1047 1048
      *
1048
-     * @param $bool boolean
1049
+     * @param boolean $bool boolean
1049 1050
      * @return $this
1050 1051
      */
1051 1052
     public function setStrictFormMethodCheck($bool)
Please login to merge, or discard this patch.
src/Security/Member.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -749,7 +749,7 @@  discard block
 block discarded – undo
749 749
      * });
750 750
      * </code>
751 751
      *
752
-     * @param Member|null|int $member Member or member ID to log in as.
752
+     * @param null|Member $member Member or member ID to log in as.
753 753
      * Set to null or 0 to act as a logged out user.
754 754
      * @param callable $callback
755 755
      */
@@ -1521,7 +1521,7 @@  discard block
 block discarded – undo
1521 1521
      * This is likely to be customized for social sites etc. with a looser permission model.
1522 1522
      *
1523 1523
      * @param Member $member
1524
-     * @return bool
1524
+     * @return boolean|string
1525 1525
      */
1526 1526
     public function canView($member = null)
1527 1527
     {
@@ -1553,7 +1553,7 @@  discard block
 block discarded – undo
1553 1553
      * Otherwise they'll need ADMIN or CMS_ACCESS_SecurityAdmin permissions
1554 1554
      *
1555 1555
      * @param Member $member
1556
-     * @return bool
1556
+     * @return boolean|string
1557 1557
      */
1558 1558
     public function canEdit($member = null)
1559 1559
     {
@@ -1590,7 +1590,7 @@  discard block
 block discarded – undo
1590 1590
      * Otherwise they'll need ADMIN or CMS_ACCESS_SecurityAdmin permissions
1591 1591
      *
1592 1592
      * @param Member $member
1593
-     * @return bool
1593
+     * @return boolean|string
1594 1594
      */
1595 1595
     public function canDelete($member = null)
1596 1596
     {
Please login to merge, or discard this patch.
src/Security/RememberLoginHash.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -84,11 +84,17 @@
 block discarded – undo
84 84
      */
85 85
     private $token = null;
86 86
 
87
+    /**
88
+     * @return string
89
+     */
87 90
     public function getToken()
88 91
     {
89 92
         return $this->token;
90 93
     }
91 94
 
95
+    /**
96
+     * @param string $token
97
+     */
92 98
     public function setToken($token)
93 99
     {
94 100
         $this->token = $token;
Please login to merge, or discard this patch.
src/Control/Email/Email.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -201,12 +201,12 @@  discard block
 block discarded – undo
201 201
 
202 202
     /**
203 203
      * Email constructor.
204
-     * @param string|array|null $from
205
-     * @param string|array|null $to
204
+     * @param string $from
205
+     * @param string $to
206 206
      * @param string|null $subject
207 207
      * @param string|null $body
208
-     * @param string|array|null $cc
209
-     * @param string|array|null $bcc
208
+     * @param string $cc
209
+     * @param string $bcc
210 210
      * @param string|null $returnPath
211 211
      */
212 212
     public function __construct(
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
     }
293 293
 
294 294
     /**
295
-     * @param string|array $address
295
+     * @param string $address
296 296
      * @param string|null $name
297 297
      * @return $this
298 298
      */
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
     }
370 370
 
371 371
     /**
372
-     * @param string|array $address
372
+     * @param string $address
373 373
      * @param string|null $name
374 374
      * @return $this
375 375
      */
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
     }
402 402
 
403 403
     /**
404
-     * @param string|array $address
404
+     * @param string $address
405 405
      * @param string|null $name
406 406
      * @return $this
407 407
      */
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
     }
434 434
 
435 435
     /**
436
-     * @param string|array $address
436
+     * @param string $address
437 437
      * @param string|null $name
438 438
      * @return $this
439 439
      */
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
     }
451 451
 
452 452
     /**
453
-     * @param string|array $address
453
+     * @param string $address
454 454
      * @param string|null $name
455 455
      * @return $this
456 456
      */
@@ -462,7 +462,7 @@  discard block
 block discarded – undo
462 462
     }
463 463
 
464 464
     /**
465
-     * @param string|array $address
465
+     * @param string $address
466 466
      * @param string|null $name
467 467
      * @return $this
468 468
      */
@@ -568,7 +568,7 @@  discard block
 block discarded – undo
568 568
     }
569 569
 
570 570
     /**
571
-     * @param string|array $name The data name to add or array to names => value
571
+     * @param string $name The data name to add or array to names => value
572 572
      * @param string|null $value The value of the data to add
573 573
      * @return $this
574 574
      */
@@ -739,7 +739,7 @@  discard block
 block discarded – undo
739 739
     }
740 740
 
741 741
     /**
742
-     * @return array|bool
742
+     * @return boolean
743 743
      */
744 744
     public function sendPlain()
745 745
     {
@@ -795,7 +795,7 @@  discard block
 block discarded – undo
795 795
     }
796 796
 
797 797
     /**
798
-     * @return Swift_MimePart|false
798
+     * @return \Swift_Mime_MimeEntity
799 799
      */
800 800
     public function findPlainPart()
801 801
     {
Please login to merge, or discard this patch.
src/Core/Startup/ParameterConfirmationToken.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
      */
48 48
     protected $token = null;
49 49
 
50
+    /**
51
+     * @param string $token
52
+     */
50 53
     protected function pathForToken($token)
51 54
     {
52 55
         return TEMP_FOLDER.'/token_'.preg_replace('/[^a-z0-9]+/', '', $token);
@@ -222,7 +225,7 @@  discard block
 block discarded – undo
222 225
      * Given a list of token names, suppress all tokens that have not been validated, and
223 226
      * return the non-validated token with the highest priority
224 227
      *
225
-     * @param array $keys List of token keys in ascending priority (low to high)
228
+     * @param string[] $keys List of token keys in ascending priority (low to high)
226 229
      * @param HTTPRequest $request
227 230
      * @return ParameterConfirmationToken The token container for the unvalidated $key given with the highest priority
228 231
      */
Please login to merge, or discard this patch.
src/Dev/BulkLoader.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -141,6 +141,10 @@
 block discarded – undo
141 141
 	 *
142 142
 	 * @return BulkLoader_Result See {@link self::processAll()}
143 143
 	 */
144
+
145
+    /**
146
+     * @param string $filepath
147
+     */
144 148
     public function load($filepath)
145 149
     {
146 150
         Environment::increaseTimeLimitTo(3600);
Please login to merge, or discard this patch.
src/Dev/Install/Installer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -284,6 +284,9 @@
 block discarded – undo
284 284
         return $this->errors;
285 285
     }
286 286
 
287
+    /**
288
+     * @param string $filename
289
+     */
287 290
     public function writeToFile($filename, $content)
288 291
     {
289 292
         $base = $this->getBaseDir();
Please login to merge, or discard this patch.
src/Dev/SapphireTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -775,7 +775,7 @@  discard block
 block discarded – undo
775 775
      * @param string $expectedSQL
776 776
      * @param string $actualSQL
777 777
      * @param string $message
778
-     * @param float|int $delta
778
+     * @param integer $delta
779 779
      * @param integer $maxDepth
780 780
      * @param boolean $canonicalize
781 781
      * @param boolean $ignoreCase
@@ -1074,7 +1074,7 @@  discard block
 block discarded – undo
1074 1074
      * Create a member and group with the given permission code, and log in with it.
1075 1075
      * Returns the member ID.
1076 1076
      *
1077
-     * @param string|array $permCode Either a permission, or list of permissions
1077
+     * @param string $permCode Either a permission, or list of permissions
1078 1078
      * @return int Member ID
1079 1079
      */
1080 1080
     public function logInWithPermission($permCode = "ADMIN")
Please login to merge, or discard this patch.
src/includes/functions.php 1 patch
Doc Comments   -6 removed lines patch added patch discarded remove patch
@@ -53,12 +53,6 @@
 block discarded – undo
53 53
  * @param string $entity Entity that identifies the string. It must be in the form
54 54
  * "Namespace.Entity" where Namespace will be usually the class name where this
55 55
  * string is used and Entity identifies the string inside the namespace.
56
- * @param mixed $arg,... Additional arguments are parsed as such:
57
- *  - Next string argument is a default. Pass in a `|` pipe-delimeted value with `{count}`
58
- *    to do pluralisation.
59
- *  - Any other string argument after default is context for i18nTextCollector
60
- *  - Any array argument in any order is an injection parameter list. Pass in a `count`
61
- *    injection parameter to pluralise.
62 56
  * @return string
63 57
  */
64 58
 function _t($entity, $arg = null)
Please login to merge, or discard this patch.