Skip to content

Commit

Permalink
Change private to protected.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Mar 20, 2016
1 parent f0411b6 commit b97885b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Pdf/CakePdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class CakePdf
*
* @var array
*/
private $__availablePermissions = [
protected $_availablePermissions = [
'print',
'degraded_print',
'modify',
Expand Down Expand Up @@ -684,7 +684,7 @@ public function permissions($permissions = null)

if (is_array($permissions)) {
foreach ($permissions as $permission) {
if (!in_array($permission, $this->__availablePermissions)) {
if (!in_array($permission, $this->_availablePermissions)) {
throw new Exception(sprintf('Invalid permission: %s', $permission));
}

Expand Down

0 comments on commit b97885b

Please sign in to comment.