Skip to content

Commit 87aa0f6

Browse files
committed
Return ArrayHash stub
1 parent 18ef231 commit 87aa0f6

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

extension.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ parameters:
1111
- stubs/Forms/Rules.stub
1212
- stubs/Http/SessionSection.stub
1313
- stubs/Routing/Router.stub
14+
- stubs/Utils/ArrayHash.stub
1415
- stubs/Utils/Html.stub
1516
universalObjectCratesClasses:
1617
- Nette\Application\UI\ITemplate

stubs/Utils/ArrayHash.stub

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace Nette\Utils;
4+
5+
/**
6+
* @implements \IteratorAggregate<mixed, mixed>
7+
* @implements \ArrayAccess<mixed, mixed>
8+
*/
9+
class ArrayHash implements \ArrayAccess, \IteratorAggregate
10+
{
11+
12+
/**
13+
* @return \RecursiveArrayIterator<mixed>
14+
*/
15+
public function getIterator(): \RecursiveArrayIterator
16+
{
17+
// nothing
18+
}
19+
20+
}

0 commit comments

Comments
 (0)