Corrected wrong type hinting in Breadcrumbs::replace()
authorMatthias Schmidt <gravatronics@live.com>
Tue, 26 Jul 2011 08:02:09 +0000 (10:02 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 26 Jul 2011 08:02:09 +0000 (10:02 +0200)
wcfsetup/install/files/lib/system/breadcrumb/Breadcrumbs.class.php

index 8b754de086d4dcac98d6ced4e58787f5106459f2..6ddc6721684584d941aa41c9a55a541cfa267c6a 100644 (file)
@@ -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;