diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b8886d..c42d3b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## NOT RELEASED +### Changed + +- Enable compiler optimization for the `sprintf` function. + ## 1.1.0 ### Added diff --git a/src/SessionHandler.php b/src/SessionHandler.php index 0f0fabf..fecf954 100644 --- a/src/SessionHandler.php +++ b/src/SessionHandler.php @@ -91,7 +91,7 @@ public function setUp(): void $response = $this->client->tableExists(['TableName' => $this->options['table_name']]); $response->wait(100, 3); if (!$response->isSuccess()) { - throw new RuntimeException(sprintf('Could not create table %s', $this->options['table_name'])); + throw new RuntimeException(\sprintf('Could not create table %s', $this->options['table_name'])); } $this->client->updateTimeToLive([