Verified Commit dbebc8e9 authored by dockx thibault's avatar dockx thibault
Browse files

:sparkles: Feat(Orchestrator) - small refactor and phpcs

phpcs and refactor
Showing with 2 additions and 3 deletions
+2 -3
...@@ -154,7 +154,6 @@ class Notifications implements EndpointInterface ...@@ -154,7 +154,6 @@ class Notifications implements EndpointInterface
*/ */
private function decodeAuditAttributes (array $task): array private function decodeAuditAttributes (array $task): array
{ {
$auditAttributesJson = $this->retrieveAuditedAttributes($task); $auditAttributesJson = $this->retrieveAuditedAttributes($task);
$auditAttributes = []; $auditAttributes = [];
...@@ -286,8 +285,8 @@ class Notifications implements EndpointInterface ...@@ -286,8 +285,8 @@ class Notifications implements EndpointInterface
*/ */
protected function retrieveAuditedAttributes (array $notificationTask): array protected function retrieveAuditedAttributes (array $notificationTask): array
{ {
$auditAttributes = NULL; $auditAttributes = [];
$auditInformation = NULL; $auditInformation = [];
// Retrieve audit data attributes from the list of references set in the sub-task // Retrieve audit data attributes from the list of references set in the sub-task
if (!empty($notificationTask['fdtasksgranularref'])) { if (!empty($notificationTask['fdtasksgranularref'])) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment