Completed
Pull Request — develop (#304)
by Franck
08:39
created
src/PhpPresentation/Reader/PowerPoint2007.php 1 patch
Doc Comments   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     /**
247 247
      * Extract all MasterSlides
248 248
      * @param XMLReader $xmlReader
249
-     * @param $fileRels
249
+     * @param string $fileRels
250 250
      */
251 251
     protected function loadMasterSlides(XMLReader $xmlReader, $fileRels)
252 252
     {
@@ -352,6 +352,9 @@  discard block
 block discarded – undo
352 352
         }
353 353
     }
354 354
 
355
+    /**
356
+     * @param string $baseFile
357
+     */
355 358
     private function loadMasterSlide($sPart, $baseFile)
356 359
     {
357 360
         $xmlReader = new XMLReader();
@@ -402,6 +405,9 @@  discard block
 block discarded – undo
402 405
         }
403 406
     }
404 407
 
408
+    /**
409
+     * @param string $baseFile
410
+     */
405 411
     private function loadLayoutSlide($sPart, $baseFile, SlideMaster $oSlideMaster)
406 412
     {
407 413
         $xmlReader = new XMLReader();
@@ -759,8 +765,8 @@  discard block
 block discarded – undo
759 765
 
760 766
     /**
761 767
      * @param $oSlide
762
-     * @param $oElements
763
-     * @param $xmlReader
768
+     * @param \DOMNodeList $oElements
769
+     * @param XMLReader $xmlReader
764 770
      * @internal param $baseFile
765 771
      */
766 772
     private function loadSlideShapes($oSlide, $oElements, $xmlReader)
Please login to merge, or discard this patch.
src/PhpPresentation/Writer/PowerPoint2007.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -21,9 +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\Table;
27 24
 use PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack;
28 25
 use PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\PackDefault;
29 26
 
Please login to merge, or discard this patch.