@@ -285,6 +285,11 @@ |
||
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)) { |
@@ -283,7 +283,7 @@ |
||
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) |
@@ -1318,7 +1318,7 @@ discard block |
||
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 |
||
3423 | 3423 | } |
3424 | 3424 | |
3425 | 3425 | /** |
3426 | - * @param $stream |
|
3426 | + * @param string $stream |
|
3427 | 3427 | * @param int $pos |
3428 | 3428 | * @throws \Exception |
3429 | 3429 | */ |
@@ -6,7 +6,6 @@ |
||
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; |
@@ -3,8 +3,6 @@ |
||
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; |
@@ -170,7 +170,7 @@ discard block |
||
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 |
||
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 |
||
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(); |