mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
[ticket/17489] Ignore Psalm UndefinedMethod issue
Psalm fails with UndefinedMethod issue when a method of a child class does not exist in parent/abstract/interface class. Ignore the issue. PHPBB-17489
This commit is contained in:
@@ -117,7 +117,10 @@ class queue
|
||||
/** @psalm-suppress InvalidTemplateParam */
|
||||
$messenger_collection_iterator = $this->messenger_method_collection->getIterator();
|
||||
|
||||
/** @var \phpbb\messenger\method\base $messenger_method */
|
||||
/**
|
||||
* @var \phpbb\messenger\method\messenger_interface $messenger_method
|
||||
* @psalm-suppress UndefinedMethod
|
||||
*/
|
||||
foreach ($messenger_collection_iterator as $messenger_method)
|
||||
{
|
||||
if (isset($this->queue_data[$messenger_method->get_queue_object_name()]))
|
||||
|
Reference in New Issue
Block a user