Completed
Pull Request — develop (#186)
by
unknown
22:14
created
src/PhpSpreadsheet/Chart/Properties.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -136,6 +136,11 @@  discard block
 block discarded – undo
136 136
         return (string) 100 - $alpha . '000';
137 137
     }
138 138
 
139
+    /**
140
+     * @param string $color
141
+     * @param integer $alpha
142
+     * @param string $type
143
+     */
139 144
     protected function setColorProperties($color, $alpha, $type)
140 145
     {
141 146
         return [
@@ -145,6 +150,9 @@  discard block
 block discarded – undo
145 150
         ];
146 151
     }
147 152
 
153
+    /**
154
+     * @param string $array_kay_selector
155
+     */
148 156
     protected function getLineStyleArrowSize($array_selector, $array_kay_selector)
149 157
     {
150 158
         $sizes = [
@@ -162,6 +170,9 @@  discard block
 block discarded – undo
162 170
         return $sizes[$array_selector][$array_kay_selector];
163 171
     }
164 172
 
173
+    /**
174
+     * @param integer $shadow_presets_option
175
+     */
165 176
     protected function getShadowPresetsMap($shadow_presets_option)
166 177
     {
167 178
         $presets_options = [
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Shared/Trend/BestFit.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -316,6 +316,10 @@
 block discarded – undo
316 316
         return $this->yBestFitValues;
317 317
     }
318 318
 
319
+    /**
320
+     * @param double $sumY2
321
+     * @param boolean $const
322
+     */
319 323
     protected function calculateGoodnessOfFit($sumX, $sumY, $sumX2, $sumY2, $sumXY, $meanX, $meanY, $const)
320 324
     {
321 325
         $SSres = $SScov = $SScor = $SStot = $SSsex = 0.0;
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Worksheet/AutoFilter.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -567,6 +567,11 @@
 block discarded – undo
567 567
         return ['method' => 'filterTestInCustomDataSet', 'arguments' => ['filterRules' => $ruleValues, 'join' => AutoFilter\Column::AUTOFILTER_COLUMN_JOIN_AND]];
568 568
     }
569 569
 
570
+    /**
571
+     * @param integer $columnID
572
+     * @param integer $startRow
573
+     * @param string $ruleType
574
+     */
570 575
     private function calculateTopTenValue($columnID, $startRow, $endRow, $ruleType, $ruleValue)
571 576
     {
572 577
         $range = $columnID . $startRow . ':' . $columnID . $endRow;
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/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.
docs/Examples/Calculations/DateTime/TIME.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
 $worksheet = $spreadsheet->getActiveSheet();
31 31
 
32 32
 // Add some data
33
-$testDates = [[3, 15],        [13, 15],    [15, 15, 15],    [3, 15, 30],
34
-                    [15, 15, 15],    [5],        [9, 15, 0],        [9, 15, -1],
35
-                    [13, -14, -15],    [0, 0, -1],
33
+$testDates = [[3, 15], [13, 15], [15, 15, 15], [3, 15, 30],
34
+                    [15, 15, 15], [5], [9, 15, 0], [9, 15, -1],
35
+                    [13, -14, -15], [0, 0, -1],
36 36
                   ];
37 37
 $testDateCount = count($testDates);
38 38
 
Please login to merge, or discard this patch.
docs/Examples/Calculations/DateTime/DATEVALUE.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@
 block discarded – undo
30 30
 $worksheet = $spreadsheet->getActiveSheet();
31 31
 
32 32
 // Add some data
33
-$testDates = ['26 March 2012',    '29 Feb 2012',    'April 1, 2012',    '25/12/2012',
34
-                    '2012-Oct-31',        '5th November',    'January 1st',        'April 2012',
35
-                    '17-03',            '03-2012',        '29 Feb 2011',        '03-05-07',
36
-                    '03-MAY-07',        '03-13-07',
33
+$testDates = ['26 March 2012', '29 Feb 2012', 'April 1, 2012', '25/12/2012',
34
+                    '2012-Oct-31', '5th November', 'January 1st', 'April 2012',
35
+                    '17-03', '03-2012', '29 Feb 2011', '03-05-07',
36
+                    '03-MAY-07', '03-13-07',
37 37
                   ];
38 38
 $testDateCount = count($testDates);
39 39
 
Please login to merge, or discard this patch.
docs/Examples/Calculations/DateTime/TIMEVALUE.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 $worksheet = $spreadsheet->getActiveSheet();
31 31
 
32 32
 // Add some data
33
-$testDates = ['3:15',    '13:15',    '15:15:15',    '3:15 AM',    '3:15 PM',    '5PM',    '9:15AM',    '13:15AM',
33
+$testDates = ['3:15', '13:15', '15:15:15', '3:15 AM', '3:15 PM', '5PM', '9:15AM', '13:15AM',
34 34
                   ];
35 35
 $testDateCount = count($testDates);
36 36
 
Please login to merge, or discard this patch.
docs/Examples/Calculations/DateTime/DATE.php 1 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.