Skip to content

Commit

Permalink
PHPOffice#120 : Presentation with predefined View Type (Fix PHPMD)
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Mar 17, 2016
1 parent 60c0c92 commit 7c958ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PhpPresentation/PhpPresentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class PhpPresentation
*
* @var \PhpOffice\PhpPresentation\PresentationProperties
*/
protected $presentationProperties;
protected $presentationProps;

/**
* Document layout
Expand Down Expand Up @@ -128,7 +128,7 @@ public function setDocumentProperties(DocumentProperties $value)
*/
public function getPresentationProperties()
{
return $this->presentationProperties;
return $this->presentationProps;
}

/**
Expand All @@ -139,7 +139,7 @@ public function getPresentationProperties()
*/
public function setPresentationProperties(PresentationProperties $value)
{
$this->presentationProperties = $value;
$this->presentationProps = $value;
return $this;
}

Expand Down

0 comments on commit 7c958ef

Please sign in to comment.