mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-23 13:23:00 +09:00
It is generally recommended to explicitly declare the visibility for methods.
This commit is contained in:
1 parent
425ec293e6
commit
0bed3aa2fd
4 files changed
+4
-4
No files matched your search
@@ -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');
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user