Browse Source

change the configureSideMenu signature to use the AdminInterface

Thomas Rabaix 12 years ago
parent
commit
941c2f73ce
2 changed files with 8 additions and 1 deletions
  1. 1 1
      Admin/Admin.php
  2. 7 0
      CHANGELOG.md

+ 1 - 1
Admin/Admin.php

@@ -466,7 +466,7 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
     /**
      * {@inheritdoc}
      */
-    protected function configureSideMenu(MenuItemInterface $menu, $action, Admin $childAdmin = null)
+    protected function configureSideMenu(MenuItemInterface $menu, $action, AdminInterface $childAdmin = null)
     {
 
     }

+ 7 - 0
CHANGELOG.md

@@ -1,6 +1,13 @@
 CHANGELOG
 =========
 
+### 2012-11-25
+
+* [BC BREAK] change the configureSideMenu signature to use the AdminInterface
+
+    -    protected function configureSideMenu(MenuItemInterface $menu, $action, Admin $childAdmin = null)
+    +    protected function configureSideMenu(MenuItemInterface $menu, $action, AdminInterface $childAdmin = null)
+
 ### 2012-08-05
 
 * [BC BREAK] remove ``getListTemplate``, ``getEditTemplate``, ``getShowTemplate`` => just use ``getTemplate('edit')``