diff options
author | Thomas Lange <code@nerdmind.de> | 2021-10-24 15:43:49 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-10-24 15:43:49 +0200 |
commit | 6d69bab4d07cd502d78b565ee9eba3b1e9296931 (patch) | |
tree | 0581aa52c4ecebc33cb32c612fd5d8f7c430d529 /include/classes/BigPipe | |
parent | 97c21fa5d86c1d58f291e7b2e17c830694ef2221 (diff) | |
download | bigpipe-6d69bab4d07cd502d78b565ee9eba3b1e9296931.tar.gz bigpipe-6d69bab4d07cd502d78b565ee9eba3b1e9296931.tar.xz bigpipe-6d69bab4d07cd502d78b565ee9eba3b1e9296931.zip |
Reformat PHP code in "getStructure" method
Diffstat (limited to 'include/classes/BigPipe')
-rw-r--r-- | include/classes/BigPipe/Resource.php | 6 |
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() + ]; } } |