Completed
Push — develop ( 86cfd3...8fcf27 )
by Franck
16s
created
src/PhpPresentation/Reader/ODPresentation.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -455,7 +455,6 @@
 block discarded – undo
455 455
     
456 456
     /**
457 457
      * Read Paragraph Item
458
-     * @param RichText $oShape
459 458
      * @param \DOMElement $oNodeParent
460 459
      */
461 460
     protected function readParagraphItem(Paragraph $oParagraph, \DOMElement $oNodeParent)
Please login to merge, or discard this patch.
src/PhpPresentation/Reader/PowerPoint2007.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -425,6 +425,9 @@
 block discarded – undo
425 425
         $this->oPhpPresentation->getActiveSlide()->addShape($oShape);
426 426
     }
427 427
     
428
+    /**
429
+     * @param string $baseFile
430
+     */
428 431
     protected function loadShapeRichText(XMLReader $document, \DOMElement $node, $baseFile)
429 432
     {
430 433
         // Core
Please login to merge, or discard this patch.
src/PhpPresentation/DocumentLayout.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     /**
109 109
      * Set Document Layout
110 110
      *
111
-     * @param array|string $pValue
111
+     * @param string $pValue
112 112
      * @param  boolean $isLandscape
113 113
      * @return \PhpOffice\PhpPresentation\DocumentLayout
114 114
      */
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      *
175 175
      * @param float $value
176 176
      * @param float $unit
177
-     * @return integer
177
+     * @return DocumentLayout
178 178
      */
179 179
     public function setCX($value, $unit = self::UNIT_EMU)
180 180
     {
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      *
189 189
      * @param float $value
190 190
      * @param float $unit
191
-     * @return integer
191
+     * @return DocumentLayout
192 192
      */
193 193
     public function setCY($value, $unit = self::UNIT_EMU)
194 194
     {
Please login to merge, or discard this patch.
src/PhpPresentation/Writer/PowerPoint2007/PptCharts.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@
 block discarded – undo
291 291
      *
292 292
      * @param \PhpOffice\Common\XMLWriter $objWriter   XML Writer
293 293
      * @param boolean                        $isReference
294
-     * @param mixed                          $value
294
+     * @param string                          $value
295 295
      * @param string                         $reference
296 296
      */
297 297
     protected function writeSingleValueOrReference($objWriter, $isReference, $value, $reference)
Please login to merge, or discard this patch.
src/PhpPresentation/Writer/ODPresentation/Content.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@
 block discarded – undo
319 319
      * Write picture
320 320
      *
321 321
      * @param \PhpOffice\Common\XMLWriter $objWriter
322
-     * @param \PhpOffice\PhpPresentation\Shape\AbstractDrawing $shape
322
+     * @param ShapeDrawing\AbstractDrawingAdapter $shape
323 323
      */
324 324
     public function writeShapeDrawing(XMLWriter $objWriter, ShapeDrawing\AbstractDrawingAdapter $shape)
325 325
     {
Please login to merge, or discard this patch.
src/PhpPresentation/Writer/PowerPoint2007/ContentTypes.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,6 @@
 block discarded – undo
18 18
 namespace PhpOffice\PhpPresentation\Writer\PowerPoint2007;
19 19
 
20 20
 use PhpOffice\PhpPresentation\Shape\Chart as ShapeChart;
21
-use PhpOffice\PhpPresentation\Shape\Drawing as ShapeDrawing;
22
-use PhpOffice\Common\File;
23 21
 use PhpOffice\Common\XMLWriter;
24 22
 use PhpOffice\PhpPresentation\Writer\PowerPoint2007;
25 23
 
Please login to merge, or discard this patch.
src/PhpPresentation/Writer/PowerPoint2007/PptSlides.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use PhpOffice\Common\Drawing as CommonDrawing;
6 6
 use PhpOffice\Common\Text;
7 7
 use PhpOffice\Common\XMLWriter;
8
-use PhpOffice\PhpPresentation\Shape\AbstractDrawing;
9 8
 use PhpOffice\PhpPresentation\Shape\Chart as ShapeChart;
10 9
 use PhpOffice\PhpPresentation\Shape\Comment;
11 10
 use PhpOffice\PhpPresentation\Shape\Drawing as ShapeDrawing;
Please login to merge, or discard this patch.
src/PhpPresentation/PresentationProperties.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     /**
119 119
      * Mark a document as final
120 120
      * @param bool $state
121
-     * @return PhpPresentation
121
+     * @return PresentationProperties
122 122
      */
123 123
     public function markAsFinal($state = true)
124 124
     {
@@ -139,8 +139,8 @@  discard block
 block discarded – undo
139 139
 
140 140
     /**
141 141
      * Set the zoom of the document (in percentage)
142
-     * @param float $zoom
143
-     * @return PhpPresentation
142
+     * @param integer $zoom
143
+     * @return PresentationProperties
144 144
      */
145 145
     public function setZoom($zoom = 1)
146 146
     {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     }
193 193
 
194 194
     /**
195
-     * @return string
195
+     * @return boolean
196 196
      */
197 197
     public function isCommentVisible()
198 198
     {
Please login to merge, or discard this patch.
src/PhpPresentation/Writer/PowerPoint2007.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -21,11 +21,6 @@
 block discarded – undo
21 21
 use PhpOffice\Common\Adapter\Zip\ZipArchiveAdapter;
22 22
 use PhpOffice\PhpPresentation\HashTable;
23 23
 use PhpOffice\PhpPresentation\PhpPresentation;
24
-use PhpOffice\PhpPresentation\Shape\AbstractDrawing;
25
-use PhpOffice\PhpPresentation\Shape\Chart as ChartShape;
26
-use PhpOffice\PhpPresentation\Shape\Drawing\AbstractDrawingAdapter;
27
-use PhpOffice\PhpPresentation\Shape\Group;
28
-use PhpOffice\PhpPresentation\Shape\Table;
29 24
 use PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack;
30 25
 use PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\PackDefault;
31 26
 
Please login to merge, or discard this patch.