mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17281] Update psalm config and fix issues
PHPBB3-17281
This commit is contained in:
@@ -23,6 +23,8 @@ namespace phpbb\extension;
|
||||
*
|
||||
* Items could be anything, for example template paths or cron task names.
|
||||
* Derived classes completely define what the items are.
|
||||
*
|
||||
* @psalm-suppress MissingTemplateParam
|
||||
*/
|
||||
abstract class provider implements \IteratorAggregate
|
||||
{
|
||||
@@ -60,7 +62,7 @@ abstract class provider implements \IteratorAggregate
|
||||
*
|
||||
* @return \ArrayIterator An iterator for the array of template paths
|
||||
*/
|
||||
public function getIterator()
|
||||
public function getIterator(): \ArrayIterator
|
||||
{
|
||||
if ($this->items === null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user