Completed
Pull Request — develop (#72)
by Henrik
27:27
created
src/PhpSpreadsheet/Calculation/Engineering.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1826,7 +1826,7 @@  discard block
 block discarded – undo
1826 1826
      * @access    public
1827 1827
      * @category Engineering Functions
1828 1828
      * @param    string $complexNumber The complex number for which you want the real coefficient.
1829
-     * @return    float
1829
+     * @return    string
1830 1830
      */
1831 1831
     public static function IMREAL($complexNumber)
1832 1832
     {
@@ -2260,7 +2260,6 @@  discard block
 block discarded – undo
2260 2260
      * Excel Function:
2261 2261
      *        IMSUM(complexNumber[,complexNumber[,...]])
2262 2262
      *
2263
-     * @param    string $complexNumber,... Series of complex numbers to add
2264 2263
      * @return    string
2265 2264
      */
2266 2265
     public static function IMSUM()
@@ -2299,7 +2298,6 @@  discard block
 block discarded – undo
2299 2298
      * Excel Function:
2300 2299
      *        IMPRODUCT(complexNumber[,complexNumber[,...]])
2301 2300
      *
2302
-     * @param    string $complexNumber,... Series of complex numbers to multiply
2303 2301
      * @return    string
2304 2302
      */
2305 2303
     public static function IMPRODUCT()
@@ -2342,7 +2340,7 @@  discard block
 block discarded – undo
2342 2340
      *        DELTA(a[,b])
2343 2341
      *
2344 2342
      * @param    float $a The first number.
2345
-     * @param    float $b The second number. If omitted, b is assumed to be zero.
2343
+     * @param    integer $b The second number. If omitted, b is assumed to be zero.
2346 2344
      * @return    int
2347 2345
      */
2348 2346
     public static function DELTA($a, $b = 0)
@@ -2365,7 +2363,7 @@  discard block
 block discarded – undo
2365 2363
      *    functions you calculate the count of values that exceed a threshold.
2366 2364
      *
2367 2365
      * @param    float $number The value to test against step.
2368
-     * @param    float $step The threshold value.
2366
+     * @param    integer $step The threshold value.
2369 2367
      *                                    If you omit a value for step, GESTEP uses zero.
2370 2368
      * @return    int
2371 2369
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Excel2003XML.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -231,6 +231,9 @@  discard block
 block discarded – undo
231 231
         return $this->loadIntoExisting($pFilename, $objPHPExcel);
232 232
     }
233 233
 
234
+    /**
235
+     * @param string $styleAttributeValue
236
+     */
234 237
     protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue)
235 238
     {
236 239
         $styleAttributeValue = strtolower($styleAttributeValue);
@@ -786,6 +789,9 @@  discard block
 block discarded – undo
786 789
     }
787 790
 
788 791
 
792
+    /**
793
+     * @param string $charset
794
+     */
789 795
     protected static function convertStringEncoding($string, $charset)
790 796
     {
791 797
         if ($charset != 'UTF-8') {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -816,7 +816,7 @@  discard block
 block discarded – undo
816 816
      *    Return the eigenvector matrix
817 817
      *
818 818
      *    @access public
819
-     *    @return V
819
+     *    @return Matrix
820 820
      */
821 821
     public function getV()
822 822
     {
@@ -849,7 +849,7 @@  discard block
 block discarded – undo
849 849
      *    Return the block diagonal eigenvalue matrix
850 850
      *
851 851
      *    @access public
852
-     *    @return D
852
+     *    @return Matrix
853 853
      */
854 854
     public function getD()
855 855
     {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -778,7 +778,7 @@
 block discarded – undo
778 778
         }
779 779
     }
780 780
 
781
- // end hqr2
781
+    // end hqr2
782 782
 
783 783
     /**
784 784
      *    Constructor: Check for symmetry, then construct the eigenvalue decomposition.
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/JAMA/SingularValueDecomposition.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
      *    Return the left singular vectors
437 437
      *
438 438
      *    @access public
439
-     *    @return U
439
+     *    @return Matrix
440 440
      */
441 441
     public function getU()
442 442
     {
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
      *    Return the right singular vectors
449 449
      *
450 450
      *    @access public
451
-     *    @return V
451
+     *    @return Matrix
452 452
      */
453 453
     public function getV()
454 454
     {
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
      *    Return the diagonal matrix of singular values
473 473
      *
474 474
      *    @access public
475
-     *    @return S
475
+     *    @return Matrix
476 476
      */
477 477
     public function getS()
478 478
     {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -436,7 +436,7 @@
 block discarded – undo
436 436
         } // end while
437 437
     }
438 438
 
439
- // end constructor
439
+    // end constructor
440 440
 
441 441
     /**
442 442
      *    Return the left singular vectors.
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/RowDimension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     /**
102 102
      * Set Row Height
103 103
      *
104
-     * @param float $pValue
104
+     * @param integer $pValue
105 105
      * @return RowDimension
106 106
      */
107 107
     public function setRowHeight($pValue = -1)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style/Fill.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     /**
102 102
      * Set Row Height
103 103
      *
104
-     * @param float $pValue
104
+     * @param integer $pValue
105 105
      * @return RowDimension
106 106
      */
107 107
     public function setRowHeight($pValue = -1)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style/Font.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     /**
102 102
      * Set Row Height
103 103
      *
104
-     * @param float $pValue
104
+     * @param integer $pValue
105 105
      * @return RowDimension
106 106
      */
107 107
     public function setRowHeight($pValue = -1)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/DateTime.php 1 patch
Doc Comments   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
      *        DATEVALUE(dateValue)
461 461
      *
462 462
      * @category Date/Time Functions
463
-     * @param    string    $dateValue        Text that represents a date in a Microsoft Excel date format.
463
+     * @param    integer    $dateValue        Text that represents a date in a Microsoft Excel date format.
464 464
      *                                    For example, "1/30/2008" or "30-Jan-2008" are text strings within
465 465
      *                                    quotation marks that represent dates. Using the default date
466 466
      *                                    system in Excel for Windows, date_text must represent a date from
@@ -644,9 +644,9 @@  discard block
 block discarded – undo
644 644
     /**
645 645
      * DATEDIF
646 646
      *
647
-     * @param    mixed    $startDate        Excel date serial value, PHP date/time stamp, PHP DateTime object
647
+     * @param    integer    $startDate        Excel date serial value, PHP date/time stamp, PHP DateTime object
648 648
      *                                    or a standard date string
649
-     * @param    mixed    $endDate        Excel date serial value, PHP date/time stamp, PHP DateTime object
649
+     * @param    integer    $endDate        Excel date serial value, PHP date/time stamp, PHP DateTime object
650 650
      *                                    or a standard date string
651 651
      * @param    string    $unit
652 652
      * @return    int    Interval between the dates
@@ -757,9 +757,9 @@  discard block
 block discarded – undo
757 757
      *        DAYS360(startDate,endDate[,method])
758 758
      *
759 759
      * @category Date/Time Functions
760
-     * @param    mixed        $startDate        Excel date serial value (float), PHP date timestamp (integer),
760
+     * @param    integer        $startDate        Excel date serial value (float), PHP date timestamp (integer),
761 761
      *                                        PHP DateTime object, or a standard date string
762
-     * @param    mixed        $endDate        Excel date serial value (float), PHP date timestamp (integer),
762
+     * @param    integer        $endDate        Excel date serial value (float), PHP date timestamp (integer),
763 763
      *                                        PHP DateTime object, or a standard date string
764 764
      * @param    bool        $method            US or European Method
765 765
      *                                        FALSE or omitted: U.S. (NASD) method. If the starting date is
@@ -816,9 +816,9 @@  discard block
 block discarded – undo
816 816
      *        YEARFRAC(startDate,endDate[,method])
817 817
      *
818 818
      * @category Date/Time Functions
819
-     * @param    mixed    $startDate        Excel date serial value (float), PHP date timestamp (integer),
819
+     * @param    integer    $startDate        Excel date serial value (float), PHP date timestamp (integer),
820 820
      *                                    PHP DateTime object, or a standard date string
821
-     * @param    mixed    $endDate        Excel date serial value (float), PHP date timestamp (integer),
821
+     * @param    integer    $endDate        Excel date serial value (float), PHP date timestamp (integer),
822 822
      *                                    PHP DateTime object, or a standard date string
823 823
      * @param    int    $method            Method used for the calculation
824 824
      *                                        0 or omitted    US (NASD) 30/360
@@ -1102,7 +1102,7 @@  discard block
 block discarded – undo
1102 1102
      * Excel Function:
1103 1103
      *        DAY(dateValue)
1104 1104
      *
1105
-     * @param    mixed    $dateValue        Excel date serial value (float), PHP date timestamp (integer),
1105
+     * @param    integer    $dateValue        Excel date serial value (float), PHP date timestamp (integer),
1106 1106
      *                                    PHP DateTime object, or a standard date string
1107 1107
      * @return    int        Day of the month
1108 1108
      */
@@ -1211,7 +1211,7 @@  discard block
 block discarded – undo
1211 1211
      * Excel Function:
1212 1212
      *        WEEKNUM(dateValue[,style])
1213 1213
      *
1214
-     * @param    mixed    $dateValue        Excel date serial value (float), PHP date timestamp (integer),
1214
+     * @param    integer    $dateValue        Excel date serial value (float), PHP date timestamp (integer),
1215 1215
      *                                    PHP DateTime object, or a standard date string
1216 1216
      * @param    int    $method            Week begins on Sunday or Monday
1217 1217
      *                                        1 or omitted    Week begins on Sunday.
@@ -1259,7 +1259,7 @@  discard block
 block discarded – undo
1259 1259
      * Excel Function:
1260 1260
      *        MONTH(dateValue)
1261 1261
      *
1262
-     * @param    mixed    $dateValue        Excel date serial value (float), PHP date timestamp (integer),
1262
+     * @param    integer    $dateValue        Excel date serial value (float), PHP date timestamp (integer),
1263 1263
      *                                    PHP DateTime object, or a standard date string
1264 1264
      * @return    int        Month of the year
1265 1265
      */
@@ -1291,7 +1291,7 @@  discard block
 block discarded – undo
1291 1291
      * Excel Function:
1292 1292
      *        YEAR(dateValue)
1293 1293
      *
1294
-     * @param    mixed    $dateValue        Excel date serial value (float), PHP date timestamp (integer),
1294
+     * @param    integer    $dateValue        Excel date serial value (float), PHP date timestamp (integer),
1295 1295
      *                                    PHP DateTime object, or a standard date string
1296 1296
      * @return    int        Year
1297 1297
      */
@@ -1322,7 +1322,7 @@  discard block
 block discarded – undo
1322 1322
      * Excel Function:
1323 1323
      *        HOUR(timeValue)
1324 1324
      *
1325
-     * @param    mixed    $timeValue        Excel date serial value (float), PHP date timestamp (integer),
1325
+     * @param    integer    $timeValue        Excel date serial value (float), PHP date timestamp (integer),
1326 1326
      *                                    PHP DateTime object, or a standard time string
1327 1327
      * @return    int        Hour
1328 1328
      */
@@ -1362,7 +1362,7 @@  discard block
 block discarded – undo
1362 1362
      * Excel Function:
1363 1363
      *        MINUTE(timeValue)
1364 1364
      *
1365
-     * @param    mixed    $timeValue        Excel date serial value (float), PHP date timestamp (integer),
1365
+     * @param    integer    $timeValue        Excel date serial value (float), PHP date timestamp (integer),
1366 1366
      *                                    PHP DateTime object, or a standard time string
1367 1367
      * @return    int        Minute
1368 1368
      */
@@ -1402,7 +1402,7 @@  discard block
 block discarded – undo
1402 1402
      * Excel Function:
1403 1403
      *        SECOND(timeValue)
1404 1404
      *
1405
-     * @param    mixed    $timeValue        Excel date serial value (float), PHP date timestamp (integer),
1405
+     * @param    integer    $timeValue        Excel date serial value (float), PHP date timestamp (integer),
1406 1406
      *                                    PHP DateTime object, or a standard time string
1407 1407
      * @return    int        Second
1408 1408
      */
@@ -1444,7 +1444,7 @@  discard block
 block discarded – undo
1444 1444
      * Excel Function:
1445 1445
      *        EDATE(dateValue,adjustmentMonths)
1446 1446
      *
1447
-     * @param    mixed    $dateValue            Excel date serial value (float), PHP date timestamp (integer),
1447
+     * @param    integer    $dateValue            Excel date serial value (float), PHP date timestamp (integer),
1448 1448
      *                                        PHP DateTime object, or a standard date string
1449 1449
      * @param    int        $adjustmentMonths    The number of months before or after start_date.
1450 1450
      *                                        A positive value for months yields a future date;
@@ -1489,7 +1489,7 @@  discard block
 block discarded – undo
1489 1489
      * Excel Function:
1490 1490
      *        EOMONTH(dateValue,adjustmentMonths)
1491 1491
      *
1492
-     * @param    mixed    $dateValue            Excel date serial value (float), PHP date timestamp (integer),
1492
+     * @param    integer    $dateValue            Excel date serial value (float), PHP date timestamp (integer),
1493 1493
      *                                        PHP DateTime object, or a standard date string
1494 1494
      * @param    int        $adjustmentMonths    The number of months before or after start_date.
1495 1495
      *                                        A positive value for months yields a future date;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/FormulaParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
      *
115 115
      * @param     int        $pId    Token id
116 116
      * @throws  Exception
117
-     * @return    string
117
+     * @return    FormulaToken
118 118
      */
119 119
     public function getToken($pId = 0)
120 120
     {
Please login to merge, or discard this patch.