Completed
Pull Request — develop (#321)
by Franck
18:35
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/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/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/Shape/Placeholder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 
66 66
     /**
67 67
      * @param mixed $type
68
-     * @return string
68
+     * @return Placeholder
69 69
      */
70 70
     public function setType($type)
71 71
     {
Please login to merge, or discard this patch.
src/PhpPresentation/Writer/PowerPoint2007/LayoutPack/AbstractLayoutPack.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -190,7 +190,6 @@  discard block
 block discarded – undo
190 190
      * Find specific slide layout id.
191 191
      *
192 192
      * @param string $name
193
-     * @param int $masterId
194 193
      * @return int
195 194
      * @throws \Exception
196 195
      */
@@ -209,7 +208,6 @@  discard block
 block discarded – undo
209 208
      * Find specific slide layout name.
210 209
      *
211 210
      * @param int $idLayout
212
-     * @param int $masterId
213 211
      * @return int
214 212
      * @throws \Exception
215 213
      */
Please login to merge, or discard this patch.
src/PhpPresentation/DocumentLayout.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      * Get Document Layout cx
152 152
      *
153 153
      * @param string $unit
154
-     * @return integer
154
+     * @return double
155 155
      */
156 156
     public function getCX($unit = self::UNIT_EMU)
157 157
     {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      * Get Document Layout cy
163 163
      *
164 164
      * @param string $unit
165
-     * @return integer
165
+     * @return double
166 166
      */
167 167
     public function getCY($unit = self::UNIT_EMU)
168 168
     {
Please login to merge, or discard this patch.
src/PhpPresentation/Reader/PowerPoint2007.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
     /**
279 279
      * Extract all MasterSlides
280 280
      * @param XMLReader $xmlReader
281
-     * @param $fileRels
281
+     * @param string $fileRels
282 282
      */
283 283
     protected function loadMasterSlides(XMLReader $xmlReader, $fileRels)
284 284
     {
@@ -382,6 +382,9 @@  discard block
 block discarded – undo
382 382
         }
383 383
     }
384 384
 
385
+    /**
386
+     * @param string $baseFile
387
+     */
385 388
     private function loadMasterSlide($sPart, $baseFile)
386 389
     {
387 390
         $xmlReader = new XMLReader();
@@ -514,6 +517,9 @@  discard block
 block discarded – undo
514 517
         }
515 518
     }
516 519
 
520
+    /**
521
+     * @param string $baseFile
522
+     */
517 523
     private function loadLayoutSlide($sPart, $baseFile, SlideMaster $oSlideMaster)
518 524
     {
519 525
         $xmlReader = new XMLReader();
Please login to merge, or discard this patch.