diff --git a/README.md b/README.md index cf3920b..eaae640 100644 --- a/README.md +++ b/README.md @@ -9,5 +9,5 @@ composer create-project rmphp/skeleton project-name ``` ```bash -composer create-project rmphp/skeleton:"^4.8" project-name +composer create-project rmphp/skeleton:"^4.9" project-name ``` diff --git a/composer.json b/composer.json index 780b373..76fa88f 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "rmphp/router": "^2.0", "rmphp/session": "^1.1", "rmphp/redis": "^1.0", - "rmphp/storage": "^6.0", + "rmphp/storage": "^7.0", "symfony/dotenv": "^6.2" }, "autoload": { diff --git a/config/container/services.php b/config/container/services.php index 5f859bb..423330c 100644 --- a/config/container/services.php +++ b/config/container/services.php @@ -4,7 +4,7 @@ use Rmphp\Storage\Mysql\MysqlStorage; use Rmphp\Storage\Mysql\MysqlStorageInterface; return [ - MysqlStorageInterface::class => DI\create(MysqlStorage::class)->constructor(json_decode(getenv("MYSQL_PARAM"), true)), + MysqlStorageInterface::class => DI\create(MysqlStorage::class)->constructor(json_decode(getenv("MYSQL_PARAM"))), 'App\Domain\Repository\*RepositoryInterface' => DI\autowire('App\Infrastructure\Repository\*Repository'), 'App\*\Domain\Repository\*RepositoryInterface' => DI\autowire('App\*\Infrastructure\Repository\*Repository'), ];