mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 12:58:52 +00:00
[feature/event-dispatcher] Fix docblock in phpbb_event_data
PHPBB3-10732
This commit is contained in:
parent
138e7dae00
commit
28b67d24e4
1 changed files with 5 additions and 5 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue