File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public function getAssetTree(): array
127127 if (!isset ($ this ->items )) {
128128 return [];
129129 }
130- return $ this ->items ;
130+ return $ this ->items ?? [] ;
131131 }
132132
133133 /**
@@ -199,7 +199,7 @@ public function buildAssetTree(): void
199199 *
200200 * @return boolean
201201 */
202- public function getRenderHiddenInIndex ()
202+ public function getRenderHiddenInIndex (): bool
203203 {
204204 if ($ this ->renderHiddenInIndex === null ) {
205205 $ this ->renderHiddenInIndex = (bool )$ this ->fusionValue ('renderHiddenInIndex ' );
@@ -213,7 +213,7 @@ public function getRenderHiddenInIndex()
213213 *
214214 * @return string
215215 */
216- public function getFilter ()
216+ public function getFilter (): string
217217 {
218218 $ filter = $ this ->fusionValue ('filter ' );
219219 if ($ filter === null ) {
You can’t perform that action at this time.
0 commit comments