1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-09 09:05:23 +02:00

[feature/event-dispatcher] Fix docblock in phpbb_event_data

PHPBB3-10732
This commit is contained in:
Igor Wiedler 2012-03-29 08:43:42 +02:00
parent 138e7dae00
commit 28b67d24e4

View File

@ -36,11 +36,11 @@ class phpbb_event_data extends Event implements ArrayAccess
return $this->data;
}
/*
* Returns data filtered to only include specified keys.
*
* This effectively discards any keys added to data by hooks.
*/
/**
* Returns data filtered to only include specified keys.
*
* This effectively discards any keys added to data by hooks.
*/
public function get_data_filtered($keys)
{
return array_intersect_key($this->data, array_flip($keys));