N°2847 - Breadcrumbs: Fix type hint in SetNewEntry ($aNewEntry can be null)

This commit is contained in:
Molkobain
2020-08-27 16:15:07 +02:00
parent 0bef32cf8d
commit 4c236b4422

View File

@@ -64,7 +64,7 @@ class Breadcrumbs extends UIBlock
*
* @return $this
*/
public function SetNewEntry(array $aNewEntry)
public function SetNewEntry(?array $aNewEntry)
{
$this->aNewEntry = $aNewEntry;