From: Matthias Schmidt Date: Tue, 26 Jul 2011 08:02:09 +0000 (+0200) Subject: Corrected wrong type hinting in Breadcrumbs::replace() X-Git-Tag: 2.0.0_Beta_1~1954^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=505b635dbe636965cac4eb0cbe3af5ca00c60d76;p=GitHub%2FWoltLab%2FWCF.git Corrected wrong type hinting in Breadcrumbs::replace() --- diff --git a/wcfsetup/install/files/lib/system/breadcrumb/Breadcrumbs.class.php b/wcfsetup/install/files/lib/system/breadcrumb/Breadcrumbs.class.php index 8b754de086..6ddc672168 100644 --- a/wcfsetup/install/files/lib/system/breadcrumb/Breadcrumbs.class.php +++ b/wcfsetup/install/files/lib/system/breadcrumb/Breadcrumbs.class.php @@ -45,7 +45,7 @@ class Breadcrumbs extends SingletonFactory { * @param integer $index * @return boolean */ - public function replace(Breadcrumbs $item, $index) { + public function replace(Breadcrumb $item, $index) { if (isset($this->items[$index])) { $this->items[$index] = $item;