Completed
Push — development ( 34f42d...f70489 )
by Nils
07:24
created
libraries/Authentication/TwoFactorAuth/Providers/Qr/QRServerProvider.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         return $this->getContent($this->getUrl($qrtext, $size));
52 52
     }
53 53
     
54
+    /**
55
+     * @param string $value
56
+     */
54 57
     private function decodeColor($value) 
55 58
     {
56 59
         return vsprintf('%d-%d-%d', sscanf($value, "%02x%02x%02x"));
Please login to merge, or discard this patch.
includes/libraries/Authentication/TwoFactorAuth/TwoFactorAuth.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -139,6 +139,7 @@
 block discarded – undo
139 139
 
140 140
     /**
141 141
      * Get data-uri of QRCode
142
+     * @param string $label
142 143
      */
143 144
     public function getQRCodeImageAsDataUri($label, $secret, $size = 200)
144 145
     {
Please login to merge, or discard this patch.
includes/libraries/Email/Phpmailer/class.pop3.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
      * Connect to a POP3 server.
201 201
      * @access public
202 202
      * @param string $host
203
-     * @param integer|boolean $port
203
+     * @param integer $port
204 204
      * @param integer $tval
205 205
      * @return boolean
206 206
      */
Please login to merge, or discard this patch.
includes/libraries/protect/AntiXSS/AntiXSS.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1912,7 +1912,7 @@
 block discarded – undo
1912 1912
   /**
1913 1913
    * @param string $str
1914 1914
    *
1915
-   * @return mixed
1915
+   * @return string
1916 1916
    */
1917 1917
   private function _do($str)
1918 1918
   {
Please login to merge, or discard this patch.
includes/libraries/protect/AntiXSS/UTF8.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2821,7 +2821,7 @@  discard block
 block discarded – undo
2821 2821
   /**
2822 2822
    * Check if the input is binary... (is look like a hack).
2823 2823
    *
2824
-   * @param mixed $input
2824
+   * @param string $input
2825 2825
    *
2826 2826
    * @return bool
2827 2827
    */
@@ -5795,7 +5795,7 @@  discard block
 block discarded – undo
5795 5795
    * @link http://php.net/manual/en/function.mb-strrpos.php
5796 5796
    *
5797 5797
    * @param string     $haystack  <p>The string being checked, for the last occurrence of needle</p>
5798
-   * @param string|int $needle    <p>The string to find in haystack.<br />Or a code point as int.</p>
5798
+   * @param string $needle    <p>The string to find in haystack.<br />Or a code point as int.</p>
5799 5799
    * @param int        $offset    [optional] <p>May be specified to begin searching an arbitrary number of characters
5800 5800
    *                              into the string. Negative values will stop searching at an arbitrary point prior to
5801 5801
    *                              the end of the string.
@@ -6296,7 +6296,7 @@  discard block
 block discarded – undo
6296 6296
    * @param string  $encoding  [optional] <p>Default is UTF-8</p>
6297 6297
    * @param boolean $cleanUtf8 [optional] <p>Remove non UTF-8 chars from the string.</p>
6298 6298
    *
6299
-   * @return string|false <p>The portion of <i>str</i> specified by the <i>offset</i> and
6299
+   * @return string <p>The portion of <i>str</i> specified by the <i>offset</i> and
6300 6300
    *                      <i>length</i> parameters.</p><p>If <i>str</i> is shorter than <i>offset</i>
6301 6301
    *                      characters long, <b>FALSE</b> will be returned.</p>
6302 6302
    */
@@ -6630,16 +6630,16 @@  discard block
 block discarded – undo
6630 6630
    *
6631 6631
    * source: https://gist.github.com/stemar/8287074
6632 6632
    *
6633
-   * @param string|string[] $str              <p>The input string or an array of stings.</p>
6634
-   * @param string|string[] $replacement      <p>The replacement string or an array of stings.</p>
6635
-   * @param int|int[]       $offset           <p>
6633
+   * @param string $str              <p>The input string or an array of stings.</p>
6634
+   * @param string $replacement      <p>The replacement string or an array of stings.</p>
6635
+   * @param integer       $offset           <p>
6636 6636
    *                                          If start is positive, the replacing will begin at the start'th offset
6637 6637
    *                                          into string.
6638 6638
    *                                          <br /><br />
6639 6639
    *                                          If start is negative, the replacing will begin at the start'th character
6640 6640
    *                                          from the end of string.
6641 6641
    *                                          </p>
6642
-   * @param int|int[]|void  $length           [optional] <p>If given and is positive, it represents the length of the
6642
+   * @param integer  $length           [optional] <p>If given and is positive, it represents the length of the
6643 6643
    *                                          portion of string which is to be replaced. If it is negative, it
6644 6644
    *                                          represents the number of characters from the end of string at which to
6645 6645
    *                                          stop replacing. If it is not given, then it will default to strlen(
@@ -7079,7 +7079,7 @@  discard block
 block discarded – undo
7079 7079
    * case.</li>
7080 7080
    * </ul>
7081 7081
    *
7082
-   * @param string|string[] $str                    <p>Any string or array.</p>
7082
+   * @param string $str                    <p>Any string or array.</p>
7083 7083
    * @param bool            $decodeHtmlEntityToUtf8 <p>Set to true, if you need to decode html-entities.</p>
7084 7084
    *
7085 7085
    * @return string|string[] <p>The UTF-8 encoded string.</p>
Please login to merge, or discard this patch.
install/js/crypt/aes.class.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,6 @@
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @param integer $Nb
94 93
      */
95 94
     private static function mixColumns($s) {   // combine bytes of each col of state S [é5.1.3]
96 95
     for ($c = 0; $c < 4; $c++) {
Please login to merge, or discard this patch.
includes/libraries/Tree/NestedTree/NestedTree.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -174,7 +174,6 @@  discard block
 block discarded – undo
174 174
      * Fetch the children of a node, or if no node is specified, fetch the
175 175
      * top level items.
176 176
      *
177
-     * @param int  $id          The ID of the node to fetch child data for.
178 177
      * @param bool $includeSelf Whether or not to include the passed node in the
179 178
      *                                  the results.
180 179
      * @return array The children of the passed node
@@ -441,7 +440,6 @@  discard block
 block discarded – undo
441 440
      *                              be able to update the data in it
442 441
      * @param int     $folder_id    The ID of the current node to process
443 442
      * @param int     $fld_level    The nlevel to assign to the current node
444
-     * @param int     $n_tally      A reference to the running tally for the n-value
445 443
      * @param integer $n
446 444
      */
447 445
     public function generateTreeData(&$arr, $folder_id, $fld_level, &$n_tally)
Please login to merge, or discard this patch.
sources/main.functions.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -505,6 +505,7 @@  discard block
 block discarded – undo
505 505
  *
506 506
  * trim a string depending on a specific string
507 507
  * @param string $element
508
+ * @param string $chaine
508 509
  * @return string
509 510
  */
510 511
 function trimElement($chaine, $element)
@@ -1562,6 +1563,9 @@  discard block
 block discarded – undo
1562 1563
  *
1563 1564
  * permits to handle the Teampass config file
1564 1565
  * $action accepts "rebuild" and "update"
1566
+ * @param string $action
1567
+ * @param string $field
1568
+ * @param integer $value
1565 1569
  */
1566 1570
 function handleConfigFile($action, $field = null, $value = null)
1567 1571
 {
@@ -2056,7 +2060,6 @@  discard block
 block discarded – undo
2056 2060
 
2057 2061
 /**
2058 2062
  * Permits to clean and sanitize text to be displayed
2059
- * @param  string $text text to clean
2060 2063
  * @param  string $type what clean to perform
2061 2064
  * @return string       text cleaned up
2062 2065
  */
Please login to merge, or discard this patch.
includes/libraries/PasswordGenerator/Generator/HumanPasswordGenerator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -91,6 +91,10 @@
 block discarded – undo
91 91
         }
92 92
     }
93 93
 
94
+    /**
95
+     * @param integer $min
96
+     * @param integer $max
97
+     */
94 98
     private function generateWordListSubset($min, $max)
95 99
     {
96 100
         $wordList = $this->generateWordList();
Please login to merge, or discard this patch.