Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8aa4dfb

Browse files
Fix removed deleted_at on UserModel
1 parent bff4a7c commit 8aa4dfb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"require-dev": {
3030
"codeigniter/coding-standard": "^1.7",
31-
"codeigniter4/shield": "^1.0@beta",
31+
"codeigniter4/shield": "^1.0",
3232
"friendsofphp/php-cs-fixer": "^3.20",
3333
"nexusphp/cs-config": "^3.12",
3434
"php-parallel-lint/php-parallel-lint": "^1.3",

‎tests/Type/data/model-find.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ function foo(): void
4545
assertType('CodeIgniter\Shield\Entities\AccessToken|null', $model->asObject(AccessToken::class)->first());
4646
assertType('stdClass|null', $model->asObject()->find(1));
4747
assertType('stdClass|null', $model->asObject('object')->find(45));
48-
assertType('list<array{username: string, status: string, status_message: string, active: bool, last_active: string, deleted_at: string}>', $model->asArray()->findAll());
48+
assertType('list<array{username: string, status: string, status_message: string, active: bool, last_active: string}>', $model->asArray()->findAll());
4949

5050
assertType('stdClass|null', $model->asArray()->asObject()->first());
51-
assertType('array{username: string, status: string, status_message: string, active: bool, last_active: string, deleted_at: string}|null', $model->asObject()->asArray()->first());
51+
assertType('array{username: string, status: string, status_message: string, active: bool, last_active: string}|null', $model->asObject()->asArray()->first());
5252
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /