diff --git a/docs/includes/usage-examples/FindOneTest.php b/docs/includes/usage-examples/FindOneTest.php index 014611b85..04932fa7f 100644 --- a/docs/includes/usage-examples/FindOneTest.php +++ b/docs/includes/usage-examples/FindOneTest.php @@ -8,6 +8,8 @@ use Illuminate\Support\Facades\DB; use MongoDB\Laravel\Tests\TestCase; +use function print_r; + class FindOneTest extends TestCase { /** diff --git a/docs/includes/usage-examples/InsertOneTest.php b/docs/includes/usage-examples/InsertOneTest.php index 33f0e4d00..36517e888 100644 --- a/docs/includes/usage-examples/InsertOneTest.php +++ b/docs/includes/usage-examples/InsertOneTest.php @@ -36,7 +36,7 @@ public function testInsertOne(): void 'title' => 'Marriage Story', 'year' => 2019, 'runtime' => 136, - ]); + ]); echo 'Insert operation success: ' . ($success ? 'yes' : 'no'); // end-qb-insert-one