Issue Bug Closed

#81613Wrong parameter type in quote function

Henrik Elsner 06/19/17, 12:27 updated 10/02/18, 10:58

Description

It seems like there is the wrong type for the type-parameter expected in the quote function (Core\Database\Query\Querybuilder).

public function quote($input, string $type = null)

$type in doctrine is actually set as \PDO::PARAM which is an Integer value.

function quote($input, $type=\PDO::PARAM_STR);

This means the type parameter can’t be used

Reviews 2