Skip to content

Commit c0a4541

Browse files
authored
Merge pull request #362 from utopia-php/feat-date-preserve
2 parents 220fcbf + 0d01c29 commit c0a4541

9 files changed

Lines changed: 263 additions & 137 deletions

File tree

composer.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ services:
5959
MONGO_INITDB_ROOT_PASSWORD: example
6060

6161
mysql:
62-
image: mysql:8.0.31
62+
image: mysql:8.0.33
6363
container_name: utopia-mysql
6464
networks:
6565
- database

src/Database/Adapter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,11 +246,11 @@ abstract public function create(string $name): bool;
246246
* Optionally check if collection exists in database
247247
*
248248
* @param string $database database name
249-
* @param string $collection (optional) collection name
249+
* @param string|null $collection (optional) collection name
250250
*
251251
* @return bool
252252
*/
253-
abstract public function exists(string $database, ?string $collection): bool;
253+
abstract public function exists(string $database, ?string $collection = null): bool;
254254

255255
/**
256256
* List Databases

0 commit comments

Comments
 (0)