From ca97b44fa2f94ffcf2ed8b6b27df416c400f6573 Mon Sep 17 00:00:00 2001 From: TriHydera <39857764+TriHydera@users.noreply.github.com> Date: Fri, 19 Jul 2024 21:53:15 +0100 Subject: [PATCH] Fixed namespaces --- README.md | 3 ++- src/Errors.php | 2 +- src/Helpers/JsonHelpers.php | 2 +- src/Helpers/XmlHelpers.php | 2 +- src/JsonResponse.php | 2 +- src/XmlResponse.php | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 624cf99..d137a60 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,11 @@ The `JsonResponse` class is responsible for handling JSON responses for success Assuming you have an instance of the `JsonResponse` class and the `Errors` class: ```php -use TriHydera\Res\JsonResponse; +use Trihydera\Res\JsonResponse; // Create an instance of JsonResponse $jsonResponse = new JsonResponse(); // Example usage of the useError method $jsonResponse->useError('NotFound'); +``` diff --git a/src/Errors.php b/src/Errors.php index 4baf358..ed2402a 100644 --- a/src/Errors.php +++ b/src/Errors.php @@ -1,5 +1,5 @@