tweak event queue.
This commit is contained in:
@@ -76,7 +76,7 @@ class Event {
|
|||||||
* @param mixed $data
|
* @param mixed $data
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function queue($queue, $key, $data)
|
public static function queue($queue, $key, $data = array())
|
||||||
{
|
{
|
||||||
static::$queued[$queue][$key] = $data;
|
static::$queued[$queue][$key] = $data;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user