aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-10-24 15:43:49 +0200
committerThomas Lange <code@nerdmind.de>2021-10-24 15:43:49 +0200
commit6d69bab4d07cd502d78b565ee9eba3b1e9296931 (patch)
tree0581aa52c4ecebc33cb32c612fd5d8f7c430d529 /include
parent97c21fa5d86c1d58f291e7b2e17c830694ef2221 (diff)
downloadbigpipe-6d69bab4d07cd502d78b565ee9eba3b1e9296931.tar.gz
bigpipe-6d69bab4d07cd502d78b565ee9eba3b1e9296931.tar.xz
bigpipe-6d69bab4d07cd502d78b565ee9eba3b1e9296931.zip
Reformat PHP code in "getStructure" method
Diffstat (limited to 'include')
-rw-r--r--include/classes/BigPipe/Resource.php6
1 files changed, 5 insertions, 1 deletions
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()
+ ];
}
}