From 7cf06a12fc670b4682881d9cb4a4fc77c94c38a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Robles?= Date: Mon, 23 Oct 2023 21:29:35 +0200 Subject: [PATCH] fix comment typos --- src/Builder.php | 2 +- src/Handler.php | 2 +- src/Http/JsonApiResponse.php | 2 +- src/Support/Apiable.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Builder.php b/src/Builder.php index 9e55461..92c5cf9 100644 --- a/src/Builder.php +++ b/src/Builder.php @@ -52,7 +52,7 @@ public function jsonApiPaginate() public function hasJoin() { /** - * Check wether join is already on the query instance. + * Check whether join is already on the query instance. * * @param string $joinTable * @return bool diff --git a/src/Handler.php b/src/Handler.php index 1267d98..21f57a4 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -23,7 +23,7 @@ public function __construct( } /** - * Check wether include error trace. + * Check whether include error trace. */ protected function includesTrace(): bool { diff --git a/src/Http/JsonApiResponse.php b/src/Http/JsonApiResponse.php index 371d2a0..6d5762a 100644 --- a/src/Http/JsonApiResponse.php +++ b/src/Http/JsonApiResponse.php @@ -194,7 +194,7 @@ protected function serializeResponse(mixed $response): mixed } /** - * Get wether request is made within InertiaJS context. + * Get whether request is made within InertiaJS context. * * @param \Illuminate\Http\Request $request */ diff --git a/src/Support/Apiable.php b/src/Support/Apiable.php index d6cdf80..4391440 100644 --- a/src/Support/Apiable.php +++ b/src/Support/Apiable.php @@ -117,7 +117,7 @@ public static function getModelResourceTypeMap() } /** - * Get model class from + * Get model class from given resource type. * * @return \Illuminate\Database\Eloquent\Model|false */