From c38efcbf1e4db2def37cff84be062d9d810c8d88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= <viktor@szepe.net>
Date: Thu, 2 Nov 2023 21:40:24 +0000
Subject: [PATCH] Fix CS and a typo

---
 src/Actions/Action.php     | 2 +-
 src/Fields/Editor.php      | 2 +-
 src/Fields/Field.php       | 2 +-
 src/Resources/Resource.php | 6 +++---
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/Actions/Action.php b/src/Actions/Action.php
index fef18a6b..42066138 100644
--- a/src/Actions/Action.php
+++ b/src/Actions/Action.php
@@ -29,10 +29,10 @@ abstract class Action implements Arrayable, Form, JsonSerializable
     use Authorizable;
     use HasAttributes;
     use Makeable;
-    use ResolvesVisibility;
     use RegistersRoutes {
         RegistersRoutes::registerRoutes as __registerRoutes;
     }
+    use ResolvesVisibility;
 
     /**
      * The Blade template.
diff --git a/src/Fields/Editor.php b/src/Fields/Editor.php
index f6156515..92ed40b4 100644
--- a/src/Fields/Editor.php
+++ b/src/Fields/Editor.php
@@ -14,10 +14,10 @@
 
 class Editor extends Field
 {
-    use ResolvesFields;
     use RegistersRoutes {
         RegistersRoutes::registerRoutes as __registerRoutes;
     }
+    use ResolvesFields;
 
     /**
      * The Blade template.
diff --git a/src/Fields/Field.php b/src/Fields/Field.php
index 9dbfc7c9..232b5e7e 100644
--- a/src/Fields/Field.php
+++ b/src/Fields/Field.php
@@ -309,7 +309,7 @@ public function searchWithQuery(Closure $callback): static
     }
 
     /**
-     * Resolve the serach query.
+     * Resolve the search query.
      */
     public function resolveSearchQuery(Request $request, Builder $query, mixed $value): Builder
     {
diff --git a/src/Resources/Resource.php b/src/Resources/Resource.php
index 84774707..af7229d5 100644
--- a/src/Resources/Resource.php
+++ b/src/Resources/Resource.php
@@ -30,12 +30,12 @@ abstract class Resource implements Arrayable, Form, Table
 {
     use AsForm;
     use Authorizable;
-    use ResolvesActions;
-    use ResolvesFilters;
-    use ResolvesWidgets;
     use RegistersRoutes {
         RegistersRoutes::registerRoutes as __registerRoutes;
     }
+    use ResolvesActions;
+    use ResolvesFilters;
+    use ResolvesWidgets;
 
     /**
      * The model class.