Completed
Pull Request — develop (#635)
by Franck
02:08
created
src/PhpPresentation/Writer/ODPresentation/ObjectsChart.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -285,6 +285,11 @@
 block discarded – undo
285 285
         }
286 286
     }
287 287
 
288
+    /**
289
+     * @param Chart\Gridlines $oGridlines
290
+     * @param string $styleName
291
+     * @param string $chartClass
292
+     */
288 293
     protected function writeGridline($oGridlines, $styleName, $chartClass)
289 294
     {
290 295
         if (!($oGridlines instanceof Chart\Gridlines)) {
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
@@ -283,7 +283,7 @@
 block discarded – undo
283 283
      *
284 284
      * @param \PhpOffice\Common\XMLWriter $objWriter XML Writer
285 285
      * @param boolean $isReference
286
-     * @param mixed $value
286
+     * @param string $value
287 287
      * @param string $reference
288 288
      */
289 289
     protected function writeSingleValueOrReference($objWriter, $isReference, $value, $reference)
Please login to merge, or discard this patch.
src/PhpPresentation/Reader/PowerPoint97.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1318,7 +1318,7 @@  discard block
 block discarded – undo
1318 1318
      * A container record that specifies text related data for a shape.
1319 1319
      * @param string $stream
1320 1320
      * @param integer $pos
1321
-     * @return array
1321
+     * @return integer
1322 1322
      * @throws \Exception
1323 1323
      * @link https://msdn.microsoft.com/en-us/library/dd910958(v=office.12).aspx
1324 1324
      */
@@ -3423,7 +3423,7 @@  discard block
 block discarded – undo
3423 3423
     }
3424 3424
 
3425 3425
     /**
3426
-     * @param $stream
3426
+     * @param string $stream
3427 3427
      * @param int $pos
3428 3428
      * @throws \Exception
3429 3429
      */
Please login to merge, or discard this patch.
samples/Sample_05_Chart.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use PhpOffice\PhpPresentation\Shape\Chart\Type\Area;
7 7
 use PhpOffice\PhpPresentation\Shape\Chart\Type\Bar;
8 8
 use PhpOffice\PhpPresentation\Shape\Chart\Type\Bar3D;
9
-use PhpOffice\PhpPresentation\Shape\Chart\Type\Line;
10 9
 use PhpOffice\PhpPresentation\Shape\Chart\Type\Pie;
11 10
 use PhpOffice\PhpPresentation\Shape\Chart\Type\Pie3D;
12 11
 use PhpOffice\PhpPresentation\Shape\Chart\Type\Scatter;
Please login to merge, or discard this patch.
samples/Sample_13_MarkAsFinal.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 include_once 'Sample_Header.php';
4 4
 
5 5
 use PhpOffice\PhpPresentation\PhpPresentation;
6
-use PhpOffice\PhpPresentation\Style\Alignment;
7
-use PhpOffice\PhpPresentation\Style\Color;
8 6
 
9 7
 // Create new PHPPresentation object
10 8
 echo date('H:i:s') . ' Create new PHPPresentation object' . EOL;
Please login to merge, or discard this patch.
samples/Sample_Header.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 /**
171 171
  * Creates a templated slide
172 172
  *
173
- * @param PHPPresentation $objPHPPresentation
173
+ * @param PhpPresentation $objPHPPresentation
174 174
  * @return \PhpOffice\PhpPresentation\Slide
175 175
  */
176 176
 function createTemplatedSlide(PhpOffice\PhpPresentation\PhpPresentation $objPHPPresentation)
@@ -223,6 +223,9 @@  discard block
 block discarded – undo
223 223
         return $this->htmlOutput;
224 224
     }
225 225
 
226
+    /**
227
+     * @param string $sHTML
228
+     */
226 229
     protected function append($sHTML)
227 230
     {
228 231
         $this->htmlOutput .= $sHTML;
@@ -454,6 +457,9 @@  discard block
 block discarded – undo
454 457
         $this->append('</div>');
455 458
     }
456 459
 
460
+    /**
461
+     * @param string $class
462
+     */
457 463
     protected function getConstantName($class, $search, $startWith = '') {
458 464
         $fooClass = new ReflectionClass($class);
459 465
         $constants = $fooClass->getConstants();
Please login to merge, or discard this patch.