Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Oct 8, 2022
1 parent 05e4aa2 commit 8e6836a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/default/data/pdo.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ public function taintStaticEscaped(PDO $pdo, string $s)

public function taintEscaped(PDO $pdo, string $s)
{
$escapeer = new Escaper();
$stmt = $pdo->query('SELECT email, adaid FROM ada WHERE adaid='.$escapeer->escape($s), PDO::FETCH_ASSOC);
$escaper = new Escaper();
$stmt = $pdo->query('SELECT email, adaid FROM ada WHERE adaid='.$escaper->escape($s), PDO::FETCH_ASSOC);
assertType('PDOStatement<array{email: string, adaid: int<-32768, 32767>}>', $stmt);
}
}

0 comments on commit 8e6836a

Please sign in to comment.