Completed
Pull Request — develop (#122)
by
unknown
18:21
created
src/PhpSpreadsheet/Writer/Xls/Font.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -82,9 +82,9 @@  discard block
 block discarded – undo
82 82
         $bFamily = 0; // Font family
83 83
         $bCharSet = \PhpOffice\PhpSpreadsheet\Shared\Font::getCharsetFromFontName($this->font->getName()); // Character set
84 84
 
85
-        $record = 0x31;        // Record identifier
86
-        $reserved = 0x00;    // Reserved
87
-        $grbit = 0x00;        // Font attributes
85
+        $record = 0x31; // Record identifier
86
+        $reserved = 0x00; // Reserved
87
+        $grbit = 0x00; // Font attributes
88 88
         if ($this->font->getItalic()) {
89 89
             $grbit |= 0x02;
90 90
         }
@@ -132,10 +132,10 @@  discard block
 block discarded – undo
132 132
     private static function mapBold($bold)
133 133
     {
134 134
         if ($bold) {
135
-            return 0x2BC;  //  700 = Bold font weight
135
+            return 0x2BC; //  700 = Bold font weight
136 136
         }
137 137
 
138
-        return 0x190;      //  400 = Normal font weight
138
+        return 0x190; //  400 = Normal font weight
139 139
     }
140 140
 
141 141
     /**
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Chart/DataSeriesValues.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,10 +79,10 @@
 block discarded – undo
79 79
     /**
80 80
      * Create a new DataSeriesValues object.
81 81
      *
82
-     * @param mixed $dataType
82
+     * @param string $dataType
83 83
      * @param string $dataSource
84 84
      * @param null|mixed $formatCode
85
-     * @param mixed $pointCount
85
+     * @param integer $pointCount
86 86
      * @param mixed $dataValues
87 87
      * @param null|mixed $marker
88 88
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
      *
591 591
      * @throws Exception
592 592
      *
593
-     * @return false|Chart
593
+     * @return null|Chart
594 594
      */
595 595
     public function getChartByIndex($index = null)
596 596
     {
@@ -1153,7 +1153,7 @@  discard block
 block discarded – undo
1153 1153
      * Set a cell value.
1154 1154
      *
1155 1155
      * @param string $pCoordinate Coordinate of the cell
1156
-     * @param mixed $pValue Value of the cell
1156
+     * @param string $pValue Value of the cell
1157 1157
      * @param string $pDataType Explicit data type
1158 1158
      * @param bool $returnCell Return the worksheet (false, default) or the cell (true)
1159 1159
      *
@@ -1237,8 +1237,8 @@  discard block
 block discarded – undo
1237 1237
     /**
1238 1238
      * Get cell at a specific coordinate by using numeric cell coordinates.
1239 1239
      *
1240
-     * @param string $pColumn Numeric column coordinate of the cell
1241
-     * @param string $pRow Numeric row coordinate of the cell
1240
+     * @param integer $pColumn Numeric column coordinate of the cell
1241
+     * @param integer $pRow Numeric row coordinate of the cell
1242 1242
      * @param bool $createIfNotExists Flag indicating whether a new cell should be created if it doesn't
1243 1243
      *                                       already exist, or a null should be returned instead
1244 1244
      *
@@ -1348,8 +1348,8 @@  discard block
 block discarded – undo
1348 1348
     /**
1349 1349
      * Cell at a specific coordinate by using numeric cell coordinates exists?
1350 1350
      *
1351
-     * @param string $pColumn Numeric column coordinate of the cell
1352
-     * @param string $pRow Numeric row coordinate of the cell
1351
+     * @param integer $pColumn Numeric column coordinate of the cell
1352
+     * @param integer $pRow Numeric row coordinate of the cell
1353 1353
      *
1354 1354
      * @return bool
1355 1355
      */
@@ -1362,7 +1362,7 @@  discard block
 block discarded – undo
1362 1362
      * Get row dimension at a specific row.
1363 1363
      *
1364 1364
      * @param int $pRow Numeric index of the row
1365
-     * @param mixed $create
1365
+     * @param boolean $create
1366 1366
      *
1367 1367
      * @return Worksheet\RowDimension
1368 1368
      */
@@ -1388,7 +1388,7 @@  discard block
 block discarded – undo
1388 1388
      * Get column dimension at a specific column.
1389 1389
      *
1390 1390
      * @param string $pColumn String index of the column
1391
-     * @param mixed $create
1391
+     * @param boolean $create
1392 1392
      *
1393 1393
      * @return Worksheet\ColumnDimension
1394 1394
      */
@@ -1934,7 +1934,7 @@  discard block
 block discarded – undo
1934 1934
     /**
1935 1935
      * Set AutoFilter.
1936 1936
      *
1937
-     * @param Worksheet\AutoFilter|string $pValue
1937
+     * @param string $pValue
1938 1938
      *            A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility
1939 1939
      *
1940 1940
      * @throws Exception
@@ -2996,7 +2996,7 @@  discard block
 block discarded – undo
2996 2996
      *
2997 2997
      * @throws Exception
2998 2998
      *
2999
-     * @return objWorksheet
2999
+     * @return Worksheet
3000 3000
      */
3001 3001
     public function setCodeName($pValue = null)
3002 3002
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Calculation/LookupRef.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      *
37 37
      * @param row Row number to use in the cell reference
38 38
      * @param column Column number to use in the cell reference
39
-     * @param relativity Flag indicating the type of reference to return
39
+     * @param relativity integer indicating the type of reference to return
40 40
      *                                1 or omitted    Absolute
41 41
      *                                2                Absolute row; relative column
42 42
      *                                3                Relative row; absolute column
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * @param sheetText Optional Name of worksheet to use
48 48
      * @param mixed $row
49 49
      * @param mixed $column
50
-     * @param mixed $relativity
50
+     * @param integer $relativity
51 51
      * @param mixed $referenceStyle
52 52
      * @param mixed $sheetText
53 53
      *
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
      *
359 359
      * @param cellAddress The reference from which you want to base the offset. Reference must refer to a cell or
360 360
      *                                range of adjacent cells; otherwise, OFFSET returns the #VALUE! error value.
361
-     * @param rows The number of rows, up or down, that you want the upper-left cell to refer to.
361
+     * @param rows integer number of rows, up or down, that you want the upper-left cell to refer to.
362 362
      *                                Using 5 as the rows argument specifies that the upper-left cell in the reference is
363 363
      *                                five rows below reference. Rows can be positive (which means below the starting reference)
364 364
      *                                or negative (which means above the starting reference).
@@ -370,8 +370,8 @@  discard block
 block discarded – undo
370 370
      * @param height The height, in number of rows, that you want the returned reference to be. Height must be a positive number.
371 371
      * @param width The width, in number of columns, that you want the returned reference to be. Width must be a positive number.
372 372
      * @param null|mixed $cellAddress
373
-     * @param mixed $rows
374
-     * @param mixed $columns
373
+     * @param integer $rows
374
+     * @param integer $columns
375 375
      * @param null|mixed $height
376 376
      * @param null|mixed $width
377 377
      * @param \PhpOffice\PhpSpreadsheet\Cell $pCell
@@ -499,7 +499,7 @@  discard block
 block discarded – undo
499 499
      *
500 500
      * @param mixed $lookupValue The value that you want to match in lookup_array
501 501
      * @param mixed $lookupArray The range of cells being searched
502
-     * @param mixed $matchType The number -1, 0, or 1. -1 means above, 0 means exact match, 1 means below. If match_type is 1 or -1, the list has to be ordered.
502
+     * @param integer $matchType The number -1, 0, or 1. -1 means above, 0 means exact match, 1 means below. If match_type is 1 or -1, the list has to be ordered.
503 503
      *
504 504
      * @return int The relative position of the found item
505 505
      */
@@ -613,8 +613,8 @@  discard block
 block discarded – undo
613 613
      * @param row_num The row in array from which to return a value. If row_num is omitted, column_num is required.
614 614
      * @param column_num The column in array from which to return a value. If column_num is omitted, row_num is required.
615 615
      * @param mixed $arrayValues
616
-     * @param mixed $rowNum
617
-     * @param mixed $columnNum
616
+     * @param integer $rowNum
617
+     * @param integer $columnNum
618 618
      *
619 619
      * @return mixed the value of a specified cell or array of cells
620 620
      */
@@ -710,11 +710,11 @@  discard block
 block discarded – undo
710 710
      *
711 711
      * @param lookup_value The value that you want to match in lookup_array
712 712
      * @param lookup_array The range of cells being searched
713
-     * @param index_number The column number in table_array from which the matching value must be returned. The first column is 1.
713
+     * @param index_number integer column number in table_array from which the matching value must be returned. The first column is 1.
714 714
      * @param not_exact_match determines if you are looking for an exact match based on lookup_value
715 715
      * @param mixed $lookup_value
716 716
      * @param mixed $lookup_array
717
-     * @param mixed $index_number
717
+     * @param integer $index_number
718 718
      * @param mixed $not_exact_match
719 719
      *
720 720
      * @return mixed The value of the found cell
Please login to merge, or discard this patch.