diff --git a/src/bb-library/Box/Crypt.php b/src/bb-library/Box/Crypt.php index a9255d779..048190771 100644 --- a/src/bb-library/Box/Crypt.php +++ b/src/bb-library/Box/Crypt.php @@ -15,7 +15,7 @@ class Box_Crypt implements \Box\InjectionAwareInterface { protected $di = NULL; - function __construct() + public function __construct() { if (!extension_loaded('mcrypt')) { throw new Box_Exception('php mcrypt extension must be enabled on your server'); diff --git a/src/bb-library/Box/DbLoggedPDOStatement.php b/src/bb-library/Box/DbLoggedPDOStatement.php index b36c59762..bb6da75fc 100644 --- a/src/bb-library/Box/DbLoggedPDOStatement.php +++ b/src/bb-library/Box/DbLoggedPDOStatement.php @@ -13,7 +13,7 @@ class Box_DbLoggedPDOStatement extends PDOStatement { - function execute ($input_parameters = null) + public function execute ($input_parameters = null) { error_log($this->queryString); parent::execute($input_parameters); diff --git a/src/bb-library/Box/Paginator.php b/src/bb-library/Box/Paginator.php index 1f1e7a285..a7d8a7bac 100644 --- a/src/bb-library/Box/Paginator.php +++ b/src/bb-library/Box/Paginator.php @@ -66,7 +66,7 @@ class Box_Paginator { * @param int $limit * @param int $midRange */ - function __construct($itemsCount = 0, $currentPage = 1, $limit = 20, $midRange = 7) + public function __construct($itemsCount = 0, $currentPage = 1, $limit = 20, $midRange = 7) { //set total items count from controller $this->itemsCount = $itemsCount; diff --git a/src/bb-library/Box/Response.php b/src/bb-library/Box/Response.php index 6b03a3306..3f17689f6 100644 --- a/src/bb-library/Box/Response.php +++ b/src/bb-library/Box/Response.php @@ -24,7 +24,7 @@ class Box_Response implements \Box\InjectionAwareInterface protected $cookies; protected $di; - function __construct ($content = null, $code = null, $status = null) + public function __construct ($content = null, $code = null, $status = null) { }