File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 24
24
use ArrayIterator ;
25
25
use BadMethodCallException ;
26
26
use function count ;
27
+ use Countable ;
27
28
use function in_array ;
28
29
use function is_int ;
29
30
use Laudis \Neo4j \Contracts \CypherContainerInterface ;
36
37
*
37
38
* @implements CypherContainerInterface<int, T>
38
39
*/
39
- final class CypherList implements CypherContainerInterface
40
+ final class CypherList implements CypherContainerInterface, Countable
40
41
{
41
42
/** @var list<T> */
42
43
private array $ array ;
Original file line number Diff line number Diff line change 24
24
use ArrayIterator ;
25
25
use BadMethodCallException ;
26
26
use function count ;
27
+ use Countable ;
27
28
use function func_num_args ;
28
29
use function in_array ;
29
30
use function is_array ;
46
47
*
47
48
* @psalm-immutable
48
49
*/
49
- final class CypherMap implements CypherContainerInterface
50
+ final class CypherMap implements CypherContainerInterface, Countable
50
51
{
51
52
/** @var array<string, T> */
52
53
private array $ map ;
You can’t perform that action at this time.
0 commit comments