Completed
Push — develop ( 2b41bd...39b55d )
by Adrien
22:48
created
src/PhpSpreadsheet/Writer/Excel5/Workbook.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,6 +233,7 @@  discard block
 block discarded – undo
233 233
      *
234 234
      * @param \PhpOffice\PhpSpreadsheet\Style
235 235
      * @param bool Is it a style XF?
236
+     * @param \PhpOffice\PhpSpreadsheet\Style $style
236 237
      * @return int Index to XF record
237 238
      */
238 239
     public function addXfWriter($style, $isStyleXf = false)
@@ -783,7 +784,7 @@  discard block
 block discarded – undo
783 784
      *
784 785
      * @param    string        $name            The name in UTF-8
785 786
      * @param    string        $formulaData    The binary formula data
786
-     * @param    string        $sheetIndex        1-based sheet index the defined name applies to. 0 = global
787
+     * @param    integer        $sheetIndex        1-based sheet index the defined name applies to. 0 = global
787 788
      * @param    bool        $isBuiltIn        Built-in name?
788 789
      * @return    string    Complete binary record data
789 790
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Xlsx.php 1 patch
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -281,6 +281,11 @@  discard block
 block discarded – undo
281 281
         return isset($c->v) ? (string) $c->v : null;
282 282
     }
283 283
 
284
+    /**
285
+     * @param string $r
286
+     * @param string $cellDataType
287
+     * @param string $castBaseType
288
+     */
284 289
     private function castToFormula($c, $r, &$cellDataType, &$value, &$calculatedValue, &$sharedFormulas, $castBaseType)
285 290
     {
286 291
         $cellDataType = 'f';
@@ -335,7 +340,7 @@  discard block
 block discarded – undo
335 340
      *
336 341
      * @param     string         $pFilename
337 342
      * @throws    Exception
338
-     * @return    Spreadsheet
343
+     * @return    \PhpOffice\PhpSpreadsheet\Spreadsheet
339 344
      */
340 345
     public function load($pFilename)
341 346
     {
@@ -2005,6 +2010,9 @@  discard block
 block discarded – undo
2005 2010
         }
2006 2011
     }
2007 2012
 
2013
+    /**
2014
+     * @param \PhpOffice\PhpSpreadsheet\Style\Border $docBorder
2015
+     */
2008 2016
     private static function readBorder($docBorder, $eleBorder)
2009 2017
     {
2010 2018
         if (isset($eleBorder['style'])) {
@@ -2127,6 +2135,9 @@  discard block
 block discarded – undo
2127 2135
         return preg_replace('~[^/]+/\.\./~', '', dirname($base) . "/$add");
2128 2136
     }
2129 2137
 
2138
+    /**
2139
+     * @param string $style
2140
+     */
2130 2141
     private static function toCSSArray($style)
2131 2142
     {
2132 2143
         $style = str_replace(["\r", "\n"], '', $style);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Reader/Xlsx/Chart.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -204,6 +204,9 @@
 block discarded – undo
204 204
         return $chart;
205 205
     }
206 206
 
207
+    /**
208
+     * @param string $type
209
+     */
207 210
     private static function chartTitle($titleDetails, $namespacesChartMeta, $type)
208 211
     {
209 212
         $caption = [];
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Xlsx/Chart.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -412,6 +412,8 @@  discard block
 block discarded – undo
412 412
      * @param  string $id1
413 413
      * @param  string $id2
414 414
      * @param  bool $isMultiLevelSeries
415
+     * @param null|Axis $xAxis
416
+     * @param null|Axis $yAxis
415 417
      *
416 418
      * @throws  \PhpSpreadsheet\Writer\Exception
417 419
      */
@@ -534,6 +536,10 @@  discard block
 block discarded – undo
534 536
      * @param  string $id1
535 537
      * @param  string $id2
536 538
      * @param  bool $isMultiLevelSeries
539
+     * @param null|Axis $xAxis
540
+     * @param null|Axis $yAxis
541
+     * @param null|GridLines $majorGridlines
542
+     * @param null|GridLines $minorGridlines
537 543
      *
538 544
      * @throws  \PhpSpreadsheet\Writer\Exception
539 545
      */
Please login to merge, or discard this patch.