Completed
Push — develop ( e95e4d...4fd8e7 )
by Adrien
61:55
created
src/PhpSpreadsheet/Calculation.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2672,7 +2672,7 @@  discard block
 block discarded – undo
2672 2672
 
2673 2673
     /**
2674 2674
      * @param string $cellReference
2675
-     * @param mixed $cellValue
2675
+     * @param boolean $cellValue
2676 2676
      */
2677 2677
     public function saveValueToCache($cellReference, $cellValue)
2678 2678
     {
@@ -2797,7 +2797,7 @@  discard block
 block discarded – undo
2797 2797
      *
2798 2798
      * @param mixed &$matrix matrix operand
2799 2799
      *
2800
-     * @return int[] An array comprising the number of rows, and number of columns
2800
+     * @return integer[] An array comprising the number of rows, and number of columns
2801 2801
      */
2802 2802
     private static function getMatrixDimensions(&$matrix)
2803 2803
     {
@@ -3800,6 +3800,9 @@  discard block
 block discarded – undo
3800 3800
         return $output;
3801 3801
     }
3802 3802
 
3803
+    /**
3804
+     * @param null|string $cellID
3805
+     */
3803 3806
     private function validateBinaryOperand($cellID, &$operand, &$stack)
3804 3807
     {
3805 3808
         if (is_array($operand)) {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Cell.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -753,7 +753,7 @@  discard block
 block discarded – undo
753 753
      *
754 754
      * @param string $pRange Cell range (e.g. A1:A1)
755 755
      *
756
-     * @return array Range dimension (width, height)
756
+     * @return double[] Range dimension (width, height)
757 757
      */
758 758
     public static function rangeDimension($pRange)
759 759
     {
@@ -943,7 +943,7 @@  discard block
 block discarded – undo
943 943
      *
944 944
      *    [ 'A1:A3' => 'x', 'A4' => 'y' ]
945 945
      *
946
-     * @param array $pCoordCollection associative array mapping coordinates to values
946
+     * @param Cell\DataValidation[] $pCoordCollection associative array mapping coordinates to values
947 947
      *
948 948
      * @return array associative array mapping coordinate ranges to valuea
949 949
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/NamedRange.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
      * Resolve a named range to a regular cell range.
213 213
      *
214 214
      * @param string $pNamedRange Named range
215
-     * @param null|Worksheet $pSheet Scope. Use null for global scope
215
+     * @param Worksheet $pSheet Scope. Use null for global scope
216 216
      *
217 217
      * @return NamedRange
218 218
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Font.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
      * Calculate an (approximate) OpenXML column width, based on font size and text contained.
218 218
      *
219 219
      * @param \PhpOffice\PhpSpreadsheet\Style\Font $font Font object
220
-     * @param RichText|string $cellText Text to calculate width
220
+     * @param string $cellText Text to calculate width
221 221
      * @param int $rotation Rotation angle
222 222
      * @param null|\PhpOffice\PhpSpreadsheet\Style\Font $defaultFont Font object
223 223
      *
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/OLE/PPS/Root.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * If a resource pointer to a stream created by fopen() is passed
60 60
      * it will be used, but you have to close such stream by yourself.
61 61
      *
62
-     * @param resource|string $filename the name of the file or stream where to save the OLE container
62
+     * @param string $filename the name of the file or stream where to save the OLE container
63 63
      *
64 64
      * @throws WriterException
65 65
      *
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      *
125 125
      * @param array $raList Reference to an array of PPS's
126 126
      *
127
-     * @return float[] The array of numbers
127
+     * @return double[] The array of numbers
128 128
      */
129 129
     public function _calcSize(&$raList)
130 130
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -558,7 +558,7 @@  discard block
 block discarded – undo
558 558
      *
559 559
      * @throws Exception
560 560
      *
561
-     * @return Chart|false
561
+     * @return Chart
562 562
      */
563 563
     public function getChartByIndex($index)
564 564
     {
@@ -1069,7 +1069,7 @@  discard block
 block discarded – undo
1069 1069
      * @param string $column Return the highest data row for the specified column,
1070 1070
      *                                     or the highest data row of any column if no column letter is passed
1071 1071
      *
1072
-     * @return string Highest row number that contains data
1072
+     * @return integer Highest row number that contains data
1073 1073
      */
1074 1074
     public function getHighestDataRow($column = null)
1075 1075
     {
@@ -1121,7 +1121,7 @@  discard block
 block discarded – undo
1121 1121
      * Set a cell value.
1122 1122
      *
1123 1123
      * @param string $pCoordinate Coordinate of the cell, eg: 'A1'
1124
-     * @param mixed $pValue Value of the cell
1124
+     * @param string $pValue Value of the cell
1125 1125
      * @param string $pDataType Explicit data type, see Cell\DataType::TYPE_*
1126 1126
      *
1127 1127
      * @return Worksheet
@@ -1327,7 +1327,7 @@  discard block
 block discarded – undo
1327 1327
      * Get row dimension at a specific row.
1328 1328
      *
1329 1329
      * @param int $pRow Numeric index of the row
1330
-     * @param mixed $create
1330
+     * @param boolean $create
1331 1331
      *
1332 1332
      * @return Worksheet\RowDimension
1333 1333
      */
@@ -1353,7 +1353,7 @@  discard block
 block discarded – undo
1353 1353
      * Get column dimension at a specific column.
1354 1354
      *
1355 1355
      * @param string $pColumn String index of the column eg: 'A'
1356
-     * @param mixed $create
1356
+     * @param boolean $create
1357 1357
      *
1358 1358
      * @return Worksheet\ColumnDimension
1359 1359
      */
@@ -1899,7 +1899,7 @@  discard block
 block discarded – undo
1899 1899
     /**
1900 1900
      * Set AutoFilter.
1901 1901
      *
1902
-     * @param string|Worksheet\AutoFilter $pValue
1902
+     * @param string $pValue
1903 1903
      *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1904 1904
      *
1905 1905
      * @throws Exception
@@ -2965,7 +2965,7 @@  discard block
 block discarded – undo
2965 2965
      *
2966 2966
      * @throws Exception
2967 2967
      *
2968
-     * @return objWorksheet
2968
+     * @return Worksheet
2969 2969
      */
2970 2970
     public function setCodeName($pValue, $validate = true)
2971 2971
     {
Please login to merge, or discard this patch.