Skip to content

Commit f1ed3a2

Browse files
committed
(style): fix lint issues from merge
1 parent 1e69110 commit f1ed3a2

7 files changed

Lines changed: 4 additions & 9 deletions

File tree

src/Database/Adapter.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use Throwable;
99
use Utopia\Database\Adapter\Feature;
1010
use Utopia\Database\Exception as DatabaseException;
11-
use Utopia\Database\Hook;
1211
use Utopia\Database\Exception\Authorization as AuthorizationException;
1312
use Utopia\Database\Exception\Conflict as ConflictException;
1413
use Utopia\Database\Exception\Duplicate as DuplicateException;

src/Database/Adapter/Mongo.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
use Utopia\Database\Exception\Type as TypeException;
2626
use Utopia\Database\Hook\MongoPermissionFilter;
2727
use Utopia\Database\Hook\MongoTenantFilter;
28-
use Utopia\Database\Hook\Tenancy;
2928
use Utopia\Database\Hook\Read;
3029
use Utopia\Database\Hook\Tenant;
3130
use Utopia\Database\Index;

src/Database/Adapter/SQL.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
use Utopia\Database\Helpers\ID;
2626
use Utopia\Database\Hook\PermissionFilter;
2727
use Utopia\Database\Hook\Permissions;
28-
use Utopia\Database\Hook\Tenancy;
2928
use Utopia\Database\Hook\TenantFilter;
3029
use Utopia\Database\Hook\WriteContext;
3130
use Utopia\Database\Index;

src/Database/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
use Utopia\Database\Helpers\ID;
1919
use Utopia\Database\Helpers\Permission;
2020
use Utopia\Database\Hook\Lifecycle;
21-
use Utopia\Database\Hook\Transform;
2221
use Utopia\Database\Hook\Relationship;
22+
use Utopia\Database\Hook\Transform;
2323
use Utopia\Database\Profiler\QueryProfiler;
2424
use Utopia\Database\Type\TypeRegistry;
2525
use Utopia\Database\Validator\Authorization;

src/Database/Hook/Decorator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Utopia\Database\Hook;
44

55
use Utopia\Database\Document;
6-
use Utopia\Query\Hook;
76
use Utopia\Database\Event;
7+
use Utopia\Query\Hook;
88

99
/**
1010
* Hook for transforming documents after they are read from or written to the database.

src/Database/Hook/Relationship.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
namespace Utopia\Database\Hook;
44

5-
use Utopia\Query\Hook;
6-
75
use Utopia\Database\Document;
86
use Utopia\Database\Query;
7+
use Utopia\Query\Hook;
98

109
/**
1110
* Contract for handling document relationship operations including creation, updates, deletion, and population.

src/Database/Hook/Transform.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
namespace Utopia\Database\Hook;
44

5-
use Utopia\Query\Hook;
6-
75
use Utopia\Database\Event;
6+
use Utopia\Query\Hook;
87

98
/**
109
* Hook for transforming SQL queries before execution.

0 commit comments

Comments
 (0)