We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05e4aa2 commit 8e6836aCopy full SHA for 8e6836a
tests/default/data/pdo.php
@@ -234,8 +234,8 @@ public function taintStaticEscaped(PDO $pdo, string $s)
234
235
public function taintEscaped(PDO $pdo, string $s)
236
{
237
- $escapeer = new Escaper();
238
- $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);
239
assertType('PDOStatement<array{email: string, adaid: int<-32768, 32767>}>', $stmt);
240
}
241
0 commit comments