mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-10 01:25:33 +02:00
[feature/event-dispatcher] Fix docblock in phpbb_event_data
PHPBB3-10732
This commit is contained in:
parent
138e7dae00
commit
28b67d24e4
@ -36,11 +36,11 @@ class phpbb_event_data extends Event implements ArrayAccess
|
|||||||
return $this->data;
|
return $this->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Returns data filtered to only include specified keys.
|
* Returns data filtered to only include specified keys.
|
||||||
*
|
*
|
||||||
* This effectively discards any keys added to data by hooks.
|
* This effectively discards any keys added to data by hooks.
|
||||||
*/
|
*/
|
||||||
public function get_data_filtered($keys)
|
public function get_data_filtered($keys)
|
||||||
{
|
{
|
||||||
return array_intersect_key($this->data, array_flip($keys));
|
return array_intersect_key($this->data, array_flip($keys));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user