Skip to content

Commit

Permalink
Fix a psalm issue with templates
Browse files Browse the repository at this point in the history
ArrayObject needs a Template definition for static analysis
  • Loading branch information
heiglandreas committed Apr 25, 2022
1 parent c4ddd31 commit 8455b5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/HolidayIterator.php
Expand Up @@ -32,8 +32,12 @@

namespace Org_Heigl\Holidaychecker;

use ArrayAccess;
use ArrayObject;

/**
* @template-implements ArrayAccess<HolidayIteratorItemInterface>
*/
class HolidayIterator extends ArrayObject
{
public function append($value)
Expand Down

0 comments on commit 8455b5b

Please sign in to comment.