From: Andreas Fernandez Date: Sat, 5 Nov 2016 17:49:02 +0000 (+0100) Subject: [FOLLOWUP][TASK] Fluidification of Opendocs Toolbar X-Git-Tag: TYPO3_8-5-0~204 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/420b16f635b28fbf7facc83aad845682fdcee20d [FOLLOWUP][TASK] Fluidification of Opendocs Toolbar The properties `$openDocs` and `$recentDocs` are described and treated as arrays, but initialized as null values. This patch changes the declaration to array. Resolves: #78051 Releases: master Change-Id: I859c13478b17ddd9fbb7ab7686099f27b3c0e7ea Reviewed-on: https://review.typo3.org/50511 Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring --- diff --git a/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php b/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php index 74e3fd97e74f..0bdac3b84a80 100644 --- a/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php +++ b/typo3/sysext/opendocs/Classes/Backend/ToolbarItems/OpendocsToolbarItem.php @@ -29,12 +29,12 @@ class OpendocsToolbarItem implements ToolbarItemInterface /** * @var array */ - protected $openDocs; + protected $openDocs = []; /** * @var array */ - protected $recentDocs; + protected $recentDocs = []; /** * Constructor