Skip to content

Commit 956f587

Browse files
committed
SQLite -> SQLite3
1 parent 66064cc commit 956f587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/HttpKernel/Profiler/SqliteProfilerStorage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class SqliteProfilerStorage extends PdoProfilerStorage
2222
{
2323
/**
24-
* @throws \RuntimeException When neither of SQLite or PDO_SQLite extension is enabled
24+
* @throws \RuntimeException When neither of SQLite3 or PDO_SQLite extension is enabled
2525
*/
2626
protected function initDb()
2727
{
@@ -38,7 +38,7 @@ protected function initDb()
3838
} elseif (class_exists('PDO') && in_array('sqlite', \PDO::getAvailableDrivers(), true)) {
3939
$db = new \PDO($this->dsn);
4040
} else {
41-
throw new \RuntimeException('You need to enable either the SQLite or PDO_SQLite extension for the profiler to run properly.');
41+
throw new \RuntimeException('You need to enable either the SQLite3 or PDO_SQLite extension for the profiler to run properly.');
4242
}
4343

4444
$db->exec('CREATE TABLE IF NOT EXISTS sf_profiler_data (token STRING, data STRING, ip STRING, url STRING, time INTEGER, parent STRING, created_at INTEGER)');

0 commit comments

Comments
 (0)