+2
-1
src/Data/Record.php
+2
-1
src/Data/Record.php
+4
-1
src/Data/RecordCollection.php
+4
-1
src/Data/RecordCollection.php
···
2
2
3
3
namespace SocialDept\AtpClient\Data;
4
4
5
+
use Illuminate\Contracts\Support\Arrayable;
6
+
5
7
/**
6
8
* Collection wrapper for paginated AT Protocol records.
7
9
*
8
10
* @template T
11
+
* @implements Arrayable<string, mixed>
9
12
*/
10
-
class RecordCollection
13
+
class RecordCollection implements Arrayable
11
14
{
12
15
/**
13
16
* @param array<Record<T>> $records