Completed
Push — develop ( 467bab...e1f81f )
by Adrien
10:03
created
src/PhpSpreadsheet/Writer/Excel5/Workbook.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,7 +192,9 @@  discard block
 block discarded – undo
192 192
      * @param int        &$str_unique    Total number of unique strings
193 193
      * @param array        &$str_table        String Table
194 194
      * @param array        &$colors        Colour Table
195
-     * @param mixed        $parser            The formula parser created for the Workbook
195
+     * @param Parser        $parser            The formula parser created for the Workbook
196
+     * @param integer $str_total
197
+     * @param integer $str_unique
196 198
      */
197 199
     public function __construct(\PHPExcel\Spreadsheet $phpExcel, &$str_total, &$str_unique, &$str_table, &$colors, $parser)
198 200
     {
@@ -792,7 +794,7 @@  discard block
 block discarded – undo
792 794
      *
793 795
      * @param    string        $name            The name in UTF-8
794 796
      * @param    string        $formulaData    The binary formula data
795
-     * @param    string        $sheetIndex        1-based sheet index the defined name applies to. 0 = global
797
+     * @param    integer        $sheetIndex        1-based sheet index the defined name applies to. 0 = global
796 798
      * @param    boolean        $isBuiltIn        Built-in name?
797 799
      * @return    string    Complete binary record data
798 800
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Excel5/Worksheet.php 1 patch
Doc Comments   +10 added lines, -8 removed lines patch added patch discarded remove patch
@@ -200,10 +200,12 @@  discard block
 block discarded – undo
200 200
      * @param int        &$str_unique    Total number of unique strings
201 201
      * @param array        &$str_table        String Table
202 202
      * @param array        &$colors        Colour Table
203
-     * @param mixed        $parser            The formula parser created for the Workbook
203
+     * @param Parser        $parser            The formula parser created for the Workbook
204 204
      * @param boolean    $preCalculateFormulas    Flag indicating whether formulas should be calculated or just written
205 205
      * @param string    $phpSheet        The worksheet to write
206 206
      * @param \PHPExcel\Worksheet $phpSheet
207
+     * @param integer $str_total
208
+     * @param integer $str_unique
207 209
      */
208 210
     public function __construct(&$str_total, &$str_unique, &$str_table, &$colors, $parser, $preCalculateFormulas, $phpSheet)
209 211
     {
@@ -614,7 +616,7 @@  discard block
 block discarded – undo
614 616
      * @param integer $row    Zero indexed row
615 617
      * @param integer $col    Zero indexed column
616 618
      * @param float   $num    The number to write
617
-     * @param mixed   $xfIndex The optional XF format
619
+     * @param integer   $xfIndex The optional XF format
618 620
      * @return integer
619 621
      */
620 622
     private function writeNumber($row, $col, $num, $xfIndex)
@@ -652,7 +654,7 @@  discard block
 block discarded – undo
652 654
      * @param int $row Row index (0-based)
653 655
      * @param int $col Column index (0-based)
654 656
      * @param string $str The string
655
-     * @param mixed   $xfIndex The XF format index for the cell
657
+     * @param integer   $xfIndex The XF format index for the cell
656 658
      * @param array $arrcRun Index to Font record and characters beginning
657 659
      */
658 660
     private function writeRichTextString($row, $col, $str, $xfIndex, $arrcRun)
@@ -720,7 +722,7 @@  discard block
 block discarded – undo
720 722
      * @param integer $row    Zero indexed row
721 723
      * @param integer $col    Zero indexed column
722 724
      * @param string  $str    The string to write
723
-     * @param mixed   $xfIndex The XF format index for the cell
725
+     * @param integer   $xfIndex The XF format index for the cell
724 726
      * @return integer
725 727
      */
726 728
     private function writeLabelSst($row, $col, $str, $xfIndex)
@@ -785,7 +787,7 @@  discard block
 block discarded – undo
785 787
      *
786 788
      * @param integer $row    Zero indexed row
787 789
      * @param integer $col    Zero indexed column
788
-     * @param mixed   $xfIndex The XF format index
790
+     * @param integer   $xfIndex The XF format index
789 791
      */
790 792
     public function writeBlank($row, $col, $xfIndex)
791 793
     {
@@ -830,7 +832,7 @@  discard block
 block discarded – undo
830 832
      * @param integer $row     Zero indexed row
831 833
      * @param integer $col     Zero indexed column
832 834
      * @param string  $formula The formula text string
833
-     * @param mixed   $xfIndex  The XF format index
835
+     * @param integer   $xfIndex  The XF format index
834 836
      * @param mixed   $calculatedValue  Calculated value
835 837
      * @return integer
836 838
      */
@@ -2307,8 +2309,8 @@  discard block
 block discarded – undo
2307 2309
      * @param mixed   $bitmap  The bitmap filename or GD-image resource
2308 2310
      * @param integer $x       The horizontal position (offset) of the image inside the cell.
2309 2311
      * @param integer $y       The vertical position (offset) of the image inside the cell.
2310
-     * @param float   $scale_x The horizontal scale
2311
-     * @param float   $scale_y The vertical scale
2312
+     * @param integer   $scale_x The horizontal scale
2313
+     * @param integer   $scale_y The vertical scale
2312 2314
      */
2313 2315
     public function insertBitmap($row, $col, $bitmap, $x = 0, $y = 0, $scale_x = 1, $scale_y = 1)
2314 2316
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/HTML.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     /**
136 136
      * Create a new PHPExcel_Writer_HTML
137 137
      *
138
-     * @param    PHPExcel    $phpExcel    PHPExcel object
138
+     * @param    Spreadsheet    $phpExcel    PHPExcel object
139 139
      */
140 140
     public function __construct(Spreadsheet $phpExcel)
141 141
     {
@@ -1419,7 +1419,7 @@  discard block
 block discarded – undo
1419 1419
      * Set images root
1420 1420
      *
1421 1421
      * @param string $pValue
1422
-     * @return PHPExcel_Writer_HTML
1422
+     * @return HTML
1423 1423
      */
1424 1424
     public function setImagesRoot($pValue = '.')
1425 1425
     {
@@ -1440,8 +1440,8 @@  discard block
 block discarded – undo
1440 1440
     /**
1441 1441
      * Set embed images
1442 1442
      *
1443
-     * @param boolean $pValue
1444
-     * @return PHPExcel_Writer_HTML
1443
+     * @param string|boolean $pValue
1444
+     * @return HTML
1445 1445
      */
1446 1446
     public function setEmbedImages($pValue = '.')
1447 1447
     {
@@ -1463,7 +1463,7 @@  discard block
 block discarded – undo
1463 1463
      * Set use inline CSS?
1464 1464
      *
1465 1465
      * @param boolean $pValue
1466
-     * @return PHPExcel_Writer_HTML
1466
+     * @return HTML
1467 1467
      */
1468 1468
     public function setUseInlineCss($pValue = false)
1469 1469
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/OpenDocument.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * Get writer part
72 72
      *
73 73
      * @param  string  $pPartName  Writer part name
74
-     * @return \PHPExcel\Writer\Excel2007\WriterPart
74
+     * @return PHPExcel_Writer_OpenDocument_WriterPart|null
75 75
      */
76 76
     public function getWriterPart($pPartName = '')
77 77
     {
@@ -180,9 +180,9 @@  discard block
 block discarded – undo
180 180
     /**
181 181
      * Set PHPExcel object
182 182
      *
183
-     * @param  PHPExcel  $pPHPExcel  PHPExcel object
183
+     * @param  \PHPExcel\Spreadsheet  $pPHPExcel  PHPExcel object
184 184
      * @throws \PHPExcel\Writer\Exception
185
-     * @return PHPExcel_Writer_Excel2007
185
+     * @return OpenDocument
186 186
      */
187 187
     public function setPHPExcel(\PHPExcel\SpreadSheet $pPHPExcel = null)
188 188
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/OpenDocument/Thumbnails.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * Write Thumbnails/thumbnail.png to PNG format
34 34
      *
35
-     * @param   PHPExcel                   $pPHPExcel
35
+     * @param   \PHPExcel\Spreadsheet                   $pPHPExcel
36 36
      * @return  string                     XML Output
37 37
      * @throws  \PHPExcel\Writer\Exception
38 38
      */
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/PDF/Core.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
      *  Set Paper Size
257 257
      *
258 258
      *  @param  string  $pValue Paper size
259
-     *  @return PHPExcel_Writer_PDF
259
+     *  @return Core
260 260
      */
261 261
     public function setPaperSize($pValue = \PHPExcel\Worksheet\PageSetup::PAPERSIZE_LETTER)
262 262
     {
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
      *  Set Orientation
279 279
      *
280 280
      *  @param string $pValue  Page orientation
281
-     *  @return PHPExcel_Writer_PDF
281
+     *  @return Core
282 282
      */
283 283
     public function setOrientation($pValue = \PHPExcel\Worksheet\PageSetup::ORIENTATION_DEFAULT)
284 284
     {
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
      *
302 302
      *  @param     string        $pValue        Temporary storage directory
303 303
      *  @throws    \PHPExcel\Writer\Exception    when directory does not exist
304
-     *  @return    PHPExcel_Writer_PDF
304
+     *  @return    Core
305 305
      */
306 306
     public function setTempDir($pValue = '')
307 307
     {
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style/Fill.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     /**
102 102
      * Set Row Height
103 103
      *
104
-     * @param double $pValue
104
+     * @param integer $pValue
105 105
      * @return RowDimension
106 106
      */
107 107
     public function setRowHeight($pValue = -1)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Style/Font.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     /**
102 102
      * Set Row Height
103 103
      *
104
-     * @param double $pValue
104
+     * @param integer $pValue
105 105
      * @return RowDimension
106 106
      */
107 107
     public function setRowHeight($pValue = -1)
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Writer/Excel2007/Chart.php 1 patch
Doc Comments   +10 added lines, -5 removed lines patch added patch discarded remove patch
@@ -409,11 +409,13 @@  discard block
 block discarded – undo
409 409
      *
410 410
      * @param  \PHPExcel\Shared\XMLWriter $objWriter XML Writer
411 411
      * @param  PlotArea $plotArea
412
-     * @param  PHPExcel_Chart_Title $xAxisLabel
412
+     * @param  null|Title $xAxisLabel
413 413
      * @param  string $groupType Chart type
414 414
      * @param  string $id1
415 415
      * @param  string $id2
416 416
      * @param  boolean $isMultiLevelSeries
417
+     * @param null|Axis $xAxis
418
+     * @param null|Axis $yAxis
417 419
      *
418 420
      * @throws  \PHPExcel\Writer\Exception
419 421
      */
@@ -530,12 +532,16 @@  discard block
 block discarded – undo
530 532
      * Write Value Axis
531 533
      *
532 534
      * @param  \PHPExcel\Shared\XMLWriter $objWriter XML Writer
533
-     * @param  PHPExcel_Chart_PlotArea $plotArea
534
-     * @param  PHPExcel_Chart_Title $yAxisLabel
535
+     * @param  PlotArea $plotArea
536
+     * @param  null|Title $yAxisLabel
535 537
      * @param  string $groupType Chart type
536 538
      * @param  string $id1
537 539
      * @param  string $id2
538 540
      * @param  boolean $isMultiLevelSeries
541
+     * @param null|Axis $xAxis
542
+     * @param null|Axis $yAxis
543
+     * @param null|GridLines $majorGridlines
544
+     * @param null|GridLines $minorGridlines
539 545
      *
540 546
      * @throws  \PHPExcel\Writer\Exception
541 547
      */
@@ -1016,7 +1022,7 @@  discard block
 block discarded – undo
1016 1022
     /**
1017 1023
      * Get the data series type(s) for a chart plot series
1018 1024
      *
1019
-     * @param  PHPExcel_Chart_PlotArea $plotArea
1025
+     * @param  PlotArea $plotArea
1020 1026
      *
1021 1027
      * @return  string|array
1022 1028
      * @throws  \PHPExcel\Writer\Exception
@@ -1262,7 +1268,6 @@  discard block
 block discarded – undo
1262 1268
      * @param  \PHPExcel\Shared\XMLWriter $objWriter XML Writer
1263 1269
      * @param  string $groupType Type of plot for dataseries
1264 1270
      * @param  string $dataType Datatype of series values
1265
-     * @param  \PHPExcel\Worksheet $pSheet
1266 1271
      *
1267 1272
      * @throws  \PHPExcel\Writer\Exception
1268 1273
      */
Please login to merge, or discard this patch.