[~FEATURE] index signal's arguments by key
authorFelix Oertel <f@oer.tel>
Tue, 18 Oct 2011 08:12:01 +0000 (10:12 +0200)
committerFelix Oertel <f@oer.tel>
Tue, 18 Oct 2011 08:12:01 +0000 (10:12 +0200)
It makes much more sense to index the arguments to a slot by key
rather then by numeric index to avoid bugs.

Change-Id: Iaa4b496aa6394809d95e29634648e59e5bc5bd42

typo3/sysext/extbase/Classes/MVC/Dispatcher.php

index 5fdb2b4..7d37084 100644 (file)
@@ -97,7 +97,7 @@ class Tx_Extbase_MVC_Dispatcher implements t3lib_Singleton {
                        } catch (Tx_Extbase_MVC_Exception_StopAction $ignoredException) {
                        }
                }
-               $this->signalSlotDispatcher->dispatch(__CLASS__, 'afterRequestDispatch', array($request, $response));
+               $this->signalSlotDispatcher->dispatch(__CLASS__, 'afterRequestDispatch', array('request' => $request, 'response' => $response));
        }
 
        /**