From 07e07f8ea7eb24df0e45bb1ee60157d6a7aa5de8 Mon Sep 17 00:00:00 2001 From: Ark4ne Date: Mon, 25 Apr 2022 10:39:15 +0200 Subject: [PATCH] doc: update --- CHANGELOG-1.1.md | 4 ++++ readme.md | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-1.1.md b/CHANGELOG-1.1.md index c3ef3f0..008a9a1 100644 --- a/CHANGELOG-1.1.md +++ b/CHANGELOG-1.1.md @@ -1,6 +1,10 @@ Release note ============ +# v1.1.1 +### Fixes +- rename namespace `Resource` to `Resources` + # v1.1.0 ### Added - implement request validation rules `Requests\Rules\{Includes, Fields}` diff --git a/readme.md b/readme.md index d7b0e45..2b13757 100644 --- a/readme.md +++ b/readme.md @@ -96,7 +96,8 @@ protected function toMeta(Request $request): ?iterable; Example: ```php -use Ark4ne\JsonApi\Resources\JsonApiResource;use Illuminate\Http\Request; +use Ark4ne\JsonApi\Resources\JsonApiResource; +use Illuminate\Http\Request; class UserResource extends JsonApiResource {