Completed
Pull Request — develop (#90)
by Tony
16:44
created
docs/Examples/Calculations/DateTime/DATE.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                     [2011, 2, 29],    [7, 5, 3],        [2012, 13, 1],    [2012, 11, 45],
36 36
                     [2012, 0, 0],    [2012, 1, 0],    [2012, 0, 1],
37 37
                     [2012, -2, 2],    [2012, 2, -2],    [2012, -2, -2],
38
-                  ];
38
+                    ];
39 39
 $testDateCount = count($testDates);
40 40
 
41 41
 $worksheet->fromArray($testDates, null, 'A1', true);
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
     $worksheet->setCellValue('E' . $row, '=D' . $row);
46 46
 }
47 47
 $worksheet->getStyle('E1:E' . $testDateCount)
48
-          ->getNumberFormat()
49
-          ->setFormatCode('yyyy-mmm-dd');
48
+            ->getNumberFormat()
49
+            ->setFormatCode('yyyy-mmm-dd');
50 50
 
51 51
 echo '<hr />';
52 52
 
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
 $worksheet = $spreadsheet->getActiveSheet();
31 31
 
32 32
 // Add some data
33
-$testDates = [[2012, 3, 26],    [2012, 2, 29],    [2012, 4, 1],    [2012, 12, 25],
34
-                    [2012, 10, 31],    [2012, 11, 5],    [2012, 1, 1],    [2012, 3, 17],
35
-                    [2011, 2, 29],    [7, 5, 3],        [2012, 13, 1],    [2012, 11, 45],
36
-                    [2012, 0, 0],    [2012, 1, 0],    [2012, 0, 1],
37
-                    [2012, -2, 2],    [2012, 2, -2],    [2012, -2, -2],
33
+$testDates = [[2012, 3, 26], [2012, 2, 29], [2012, 4, 1], [2012, 12, 25],
34
+                    [2012, 10, 31], [2012, 11, 5], [2012, 1, 1], [2012, 3, 17],
35
+                    [2011, 2, 29], [7, 5, 3], [2012, 13, 1], [2012, 11, 45],
36
+                    [2012, 0, 0], [2012, 1, 0], [2012, 0, 1],
37
+                    [2012, -2, 2], [2012, 2, -2], [2012, -2, -2],
38 38
                   ];
39 39
 $testDateCount = count($testDates);
40 40
 
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
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      *
120 120
      * @throws Exception
121 121
      *
122
-     * @return string
122
+     * @return FormulaToken
123 123
      */
124 124
     public function getToken($pId = 0)
125 125
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Drawing.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      *
34 34
      * @param int $pValue Value in pixels
35 35
      *
36
-     * @return int Value in EMU
36
+     * @return double Value in EMU
37 37
      */
38 38
     public static function pixelsToEMU($pValue = 0)
39 39
     {
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
@@ -80,9 +80,9 @@
 block discarded – undo
80 80
      * Create a new DataSeriesValues object.
81 81
      *
82 82
      * @param string $dataSource
83
-     * @param mixed $dataType
83
+     * @param string $dataType
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/Chart/PlotArea.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * Get Number of Plot Groups.
66 66
      *
67
-     * @return array of DataSeries
67
+     * @return integer of DataSeries
68 68
      */
69 69
     public function getPlotGroupCount()
70 70
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Xlsx/Theme.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Create a new Theme.
59 59
      *
60
-     * @param mixed $themeName
61
-     * @param mixed $colourSchemeName
60
+     * @param string $themeName
61
+     * @param string $colourSchemeName
62 62
      * @param mixed $colourMap
63 63
      */
64 64
     public function __construct($themeName, $colourSchemeName, $colourMap)
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     /**
93 93
      * Get colour Map Value by Position.
94 94
      *
95
-     * @param mixed $index
95
+     * @param integer $index
96 96
      *
97 97
      * @return string
98 98
      */
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
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * If a resource pointer to a stream created by fopen() is passed
57 57
      * it will be used, but you have to close such stream by yourself.
58 58
      *
59
-     * @param string|resource $filename the name of the file or stream where to save the OLE container
59
+     * @param string|null $filename the name of the file or stream where to save the OLE container
60 60
      *
61 61
      * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception
62 62
      *
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      *
122 122
      * @param array $raList Reference to an array of PPS's
123 123
      *
124
-     * @return float[] The array of numbers
124
+     * @return double[] The array of numbers
125 125
      */
126 126
     public function _calcSize(&$raList)
127 127
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/PCLZip/PclZip.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -1367,6 +1367,10 @@  discard block
 block discarded – undo
1367 1367
     //     1 on success.
1368 1368
     //     0 on failure.
1369 1369
     // --------------------------------------------------------------------------------
1370
+
1371
+    /**
1372
+     * @param integer $p_size
1373
+     */
1370 1374
     public function privParseOptions(&$p_options_list, $p_size, &$v_result_list, $v_requested_options = false)
1371 1375
     {
1372 1376
         $v_result = 1;
@@ -2218,6 +2222,10 @@  discard block
 block discarded – undo
2218 2222
     // Description :
2219 2223
     // Parameters :
2220 2224
     // --------------------------------------------------------------------------------
2225
+
2226
+    /**
2227
+     * @param string $p_mode
2228
+     */
2221 2229
     public function privOpenFd($p_mode)
2222 2230
     {
2223 2231
         $v_result = 1;
@@ -3831,6 +3839,10 @@  discard block
 block discarded – undo
3831 3839
     // Parameters :
3832 3840
     // Return Values :
3833 3841
     // --------------------------------------------------------------------------------
3842
+
3843
+    /**
3844
+     * @param string $p_string
3845
+     */
3834 3846
     public function privExtractFileAsString(&$p_entry, &$p_string, &$p_options)
3835 3847
     {
3836 3848
         $v_result = 1;
Please login to merge, or discard this patch.
docs/Examples/Reading WorkBook Data/exampleWorkBookReader03.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 echo '<b>Custom Properties: </b><br />';
42 42
 /*  Loop through the list of custom properties  **/
43 43
 foreach ($customPropertyList as $customPropertyName) {
44
-    echo '<b>',$customPropertyName,': </b>';
44
+    echo '<b>', $customPropertyName, ': </b>';
45 45
     /*  Retrieve the property value  **/
46 46
     $propertyValue = $spreadsheet->getProperties()->getCustomPropertyValue($customPropertyName);
47 47
     /*  Retrieve the property type  **/
Please login to merge, or discard this patch.