Skip to content
Snippets Groups Projects
Commit 05535113 authored by Vadim Justus's avatar Vadim Justus
Browse files

Merge branch 'develop' into 1.2

parents 4ba395d2 f375cfbe
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ class GetBlockEntryList ...@@ -39,7 +39,7 @@ class GetBlockEntryList
/** /**
* Prepare items array by transforming all configured entries into content entry data models * Prepare items array by transforming all configured entries into content entry data models
*/ */
private function prepare(): void private function prepare()
{ {
if (empty($this->items)) { if (empty($this->items)) {
$blocks = $this->configuration->getList()['blocks'] ?? []; $blocks = $this->configuration->getList()['blocks'] ?? [];
...@@ -53,7 +53,7 @@ class GetBlockEntryList ...@@ -53,7 +53,7 @@ class GetBlockEntryList
/** /**
* @return BlockEntryInterface[] * @return BlockEntryInterface[]
*/ */
public function get(): array public function get()
{ {
$this->prepare(); $this->prepare();
return $this->items; return $this->items;
......
...@@ -39,7 +39,7 @@ class GetPageEntryList ...@@ -39,7 +39,7 @@ class GetPageEntryList
/** /**
* Prepare items array by transforming all configured entries into content entry data models * Prepare items array by transforming all configured entries into content entry data models
*/ */
private function prepare(): void private function prepare()
{ {
if (empty($this->items)) { if (empty($this->items)) {
$pages = $this->configuration->getList()['pages'] ?? []; $pages = $this->configuration->getList()['pages'] ?? [];
...@@ -53,7 +53,7 @@ class GetPageEntryList ...@@ -53,7 +53,7 @@ class GetPageEntryList
/** /**
* @return PageEntryInterface[] * @return PageEntryInterface[]
*/ */
public function get(): array public function get()
{ {
$this->prepare(); $this->prepare();
return $this->items; return $this->items;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment