Skip to content

Commit

Permalink
Revert "Fix demo PDOCollector name, and update it with 72fea42" (#595)
Browse files Browse the repository at this point in the history
* Revert "Fix demo PDOCollector name, and update it with 72fea42 (#593)"

This reverts commit 43632b6.

* Update pdo.php
  • Loading branch information
barryvdh committed Feb 13, 2024
1 parent a1a30fc commit 5e47525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/pdo.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

$pdo = new TraceablePDO(new PDO('sqlite::memory:'));
$debugbar->addCollector(new PDOCollector($pdo));
$debugbar['database']->setDurationBackground(true);
$debugbar['pdo']->setDurationBackground(true);

$pdo->exec('create table users (name varchar)');
$stmt = $pdo->prepare('insert into users (name) values (?)');
Expand Down

0 comments on commit 5e47525

Please sign in to comment.