Skip to content

Commit 662451d

Browse files
author
liutao
committed
feat: update contract
1 parent 0ad8b90 commit 662451d

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
}
88
},
99
"require": {
10-
"php": ">=8.0"
10+
"php": ">=8.0",
11+
"microphp/contract": "^1.0"
1112
},
1213
"require-dev": {
1314
"pestphp/pest": "^2.35"

src/Contract/ArrayAble.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
use ArrayAccess;
88
use Exception;
99
use JsonSerializable;
10+
use MicroPHP\Contract\ArrayAble;
1011
use MicroPHP\Data\Attribute\DataAttribute;
11-
use MicroPHP\Data\Contract\ArrayAble;
1212
use MicroPHP\Data\Traits\ArrayAccessTrait;
1313
use MicroPHP\Data\Util\Str;
1414
use ReflectionClass;

0 commit comments

Comments
 (0)