diff --git a/hmrc-gateway-message.php b/hmrc-gateway-message.php index da6ecd6..485ec26 100644 --- a/hmrc-gateway-message.php +++ b/hmrc-gateway-message.php @@ -8,7 +8,7 @@ class hmrc_gateway_message extends check { private $message_function = NULL; private $message_transation = NULL; private $message_correlation = NULL; - private $message_keys = array(); + private $message_keys = []; private $vendor_code = NULL; private $vendor_name = NULL; private $sender_name = NULL; diff --git a/hmrc-gateway.php b/hmrc-gateway.php index 9835107..754f7fc 100644 --- a/hmrc-gateway.php +++ b/hmrc-gateway.php @@ -149,7 +149,7 @@ public function request_list($message_class) { //-------------------------------------------------- // Extract requests - $requests = array(); + $requests = []; if (isset($this->response_object->Body->StatusReport)) { foreach ($this->response_object->Body->StatusReport->StatusRecord as $request) { @@ -226,7 +226,7 @@ public function request_poll($request) { } else if ($this->response_qualifier == 'response') { - $details = array(); + $details = []; if ($this->request_ref) { $details = $this->request_ref->response_details($this->response_object); } diff --git a/hmrc-rti-eas.php b/hmrc-rti-eas.php index 8c6e585..593f0b6 100644 --- a/hmrc-rti-eas.php +++ b/hmrc-rti-eas.php @@ -2,7 +2,7 @@ class hmrc_rti_eas extends hmrc_rti { // Employer Alignment Submission - private $employees = array(); + private $employees = []; public function message_class_get() { return 'HMRC-PAYE-RTI-EAS'; diff --git a/hmrc-rti-eps.php b/hmrc-rti-eps.php index df22e21..c4f0c30 100644 --- a/hmrc-rti-eps.php +++ b/hmrc-rti-eps.php @@ -2,7 +2,7 @@ class hmrc_rti_eps extends hmrc_rti { // Employer Payment Summary - Send an EPS instead of an FPS if you've not paid any employees in a tax month. - private $employees = array(); + private $employees = []; public function message_class_get() { return 'HMRC-PAYE-RTI-EPS'; diff --git a/hmrc-rti-fps.php b/hmrc-rti-fps.php index 6fc8f24..f0ac393 100644 --- a/hmrc-rti-fps.php +++ b/hmrc-rti-fps.php @@ -2,7 +2,7 @@ class hmrc_rti_fps extends hmrc_rti { // Full Payment Submission - private $employees = array(); + private $employees = []; public function message_class_get() { return 'HMRC-PAYE-RTI-FPS'; diff --git a/hmrc-rti.php b/hmrc-rti.php index e9720cb..1b5fdf4 100644 --- a/hmrc-rti.php +++ b/hmrc-rti.php @@ -2,7 +2,7 @@ class hmrc_rti extends check { - protected $details = array(); + protected $details = []; public function details_set($details) { @@ -51,7 +51,7 @@ public function request_header_get_xml() { public function response_details($response_object) { - return array(); + return []; } diff --git a/hmrc-vat.php b/hmrc-vat.php index ffe0bcf..2671754 100644 --- a/hmrc-vat.php +++ b/hmrc-vat.php @@ -2,7 +2,7 @@ class hmrc_vat extends check { - protected $details = array(); + protected $details = []; public function details_set($details) {