Skip to content

Commit eb62a02

Browse files
Added interface to Bytes
1 parent 84d6f88 commit eb62a02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/packstream/Bytes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Bolt\packstream;
44

5-
use ArrayAccess, Countable;
5+
use ArrayAccess, Countable, Stringable;
66

77
/**
88
* Class Bytes
@@ -12,7 +12,7 @@
1212
* @link https://www.neo4j.com/docs/bolt/current/packstream/#data-type-bytes
1313
* @package Bolt\packstream
1414
*/
15-
class Bytes implements ArrayAccess, Countable
15+
class Bytes implements ArrayAccess, Countable, Stringable
1616
{
1717
public function __construct(private array $bytes = [])
1818
{

0 commit comments

Comments
 (0)