From 6d69bab4d07cd502d78b565ee9eba3b1e9296931 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 24 Oct 2021 15:43:49 +0200 Subject: Reformat PHP code in "getStructure" method --- include/classes/BigPipe/Resource.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/classes/BigPipe') diff --git a/include/classes/BigPipe/Resource.php b/include/classes/BigPipe/Resource.php index 0eb8b83..a7ed728 100644 --- a/include/classes/BigPipe/Resource.php +++ b/include/classes/BigPipe/Resource.php @@ -59,6 +59,10 @@ abstract class Resource extends Item { # Return the resource structure #=============================================================================== public function getStructure(): array { - return ['ID' => $this->getID(), 'HREF' => $this->getURL(), 'PHASE' => $this->getPhaseDoneJS()]; + return [ + 'ID' => $this->getID(), + 'HREF' => $this->getURL(), + 'PHASE' => $this->getPhaseDoneJS() + ]; } } -- cgit v1.2.3