diff --git a/src/Actions/ManagesLayout.php b/src/Actions/ManagesLayout.php index e36fbc8..202decb 100644 --- a/src/Actions/ManagesLayout.php +++ b/src/Actions/ManagesLayout.php @@ -15,7 +15,9 @@ trait ManagesLayout public function filterLayouts(array $queryParams = []) { $layouts = $this->get("layouts", $queryParams); - $layouts['data'] = array_map(function($value){ new Layout($value, $this); }, $layouts['data']); + $layouts['data'] = array_map(function ($value) { + return new Layout($value, $this); + }, $layouts['data']); return $layouts; } @@ -83,4 +85,4 @@ public function setLayoutAsDefault(string $layoutId) { return $this->post("layouts/$layoutId");; } -} \ No newline at end of file +}