Making code PSR2 compliant

This commit is contained in:
gamonoid
2017-09-24 19:23:30 +02:00
parent 05b57e0236
commit 6c61577583
160 changed files with 1432 additions and 1086 deletions

View File

@@ -8,7 +8,6 @@
namespace Overtime\Admin\Api;
use Classes\Approval\ApproveAdminActionManager;
class OvertimeActionManager extends ApproveAdminActionManager

View File

@@ -13,13 +13,13 @@ use Model\ApproveModel;
class EmployeeOvertime extends ApproveModel
{
var $_table = 'EmployeeOvertime';
public $table = 'EmployeeOvertime';
var $notificationModuleName = "Overtime Management";
var $notificationUnitName = "OvertimeRequest";
var $notificationUnitPrefix = "An";
var $notificationUnitAdminUrl = "g=modules&n=overtime&m=module_Time_Management#tabSubordinateEmployeeOvertime";
var $preApproveSettingName = "Attendance: Pre-Approve Overtime Request";
public $notificationModuleName = "Overtime Management";
public $notificationUnitName = "OvertimeRequest";
public $notificationUnitPrefix = "An";
public $notificationUnitAdminUrl = "g=modules&n=overtime&m=module_Time_Management#tabSubordinateEmployeeOvertime";
public $preApproveSettingName = "Attendance: Pre-Approve Overtime Request";
public function isMultiLevelApprovalsEnabled()
{

View File

@@ -11,8 +11,10 @@ namespace Overtime\Common\Model;
class EmployeeOvertimeApproval extends EmployeeOvertime
{
// @codingStandardsIgnoreStart
public function Find($whereOrderBy, $bindarr = false, $pkeysArr = false, $extra = array())
{
// @codingStandardsIgnoreEnd
return $this->findApprovals(new EmployeeOvertime(), $whereOrderBy, $bindarr, $pkeysArr, $extra);
}
}

View File

@@ -12,7 +12,7 @@ use Model\BaseModel;
class OvertimeCategory extends BaseModel
{
var $_table = 'OvertimeCategories';
public $table = 'OvertimeCategories';
public function getAdminAccess()
{

View File

@@ -8,7 +8,6 @@
namespace Overtime\User\Api;
use Classes\Approval\ApproveModuleActionManager;
class OvertimeActionManager extends ApproveModuleActionManager