From 216ac0b72369204a5e0ca24d93b0ce8b3b2b072b Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Tue, 12 Mar 2024 10:20:05 -0400 Subject: [PATCH 1/2] DOCSP-37601: release notes link, university course link fix --- docs/index.txt | 1 + docs/quick-start.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/index.txt b/docs/index.txt index cd210fed2..febdb9371 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -14,6 +14,7 @@ Laravel MongoDB :maxdepth: 1 /quick-start + Release Notes /retrieve /eloquent-models /query-builder diff --git a/docs/quick-start.txt b/docs/quick-start.txt index b5f9166ae..d672f3e31 100644 --- a/docs/quick-start.txt +++ b/docs/quick-start.txt @@ -33,7 +33,7 @@ read and write operations on the data. You can learn how to set up a local Laravel development environment and perform CRUD operations by viewing the - :mdbu-course:`Getting Started with Laravel and MongoDB ` + :mdbu-course:`Getting Started with Laravel and MongoDB ` MongoDB University Learning Byte. If you prefer to connect to MongoDB by using the PHP Library driver without From adc2b445c2223e97dd8370c8f4a4d19250117a1e Mon Sep 17 00:00:00 2001 From: ccho-mongodb Date: Tue, 12 Mar 2024 14:20:50 +0000 Subject: [PATCH 2/2] apply phpcbf formatting --- src/Query/Builder.php | 5 ----- tests/Models/User.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Query/Builder.php b/src/Query/Builder.php index 98e6640df..27e788db8 100644 --- a/src/Query/Builder.php +++ b/src/Query/Builder.php @@ -1158,11 +1158,6 @@ protected function compileWheres(): array return $compiled; } - /** - * @param array $where - * - * @return array - */ protected function compileWhereBasic(array $where): array { $column = $where['column']; diff --git a/tests/Models/User.php b/tests/Models/User.php index f2d2cf7cc..98f76d931 100644 --- a/tests/Models/User.php +++ b/tests/Models/User.php @@ -130,7 +130,7 @@ protected function username(): Attribute { return Attribute::make( get: fn ($value) => $value, - set: fn ($value) => Str::slug($value) + set: fn ($value) => Str::slug($value), ); }