for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace yentu\database;
class Query extends DatabaseItem
{
private $results;
private $query;
private $bindData;
public function __construct($query, $bindData = array())
$this->query = $query;
$this->bindData = $bindData;
}
#[\Override]
public function init()
$this->results = $this->getDriver()->executeQuery(
executeQuery()
yentu\ChangeLogger
__call
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
$this->results = $this->getDriver()->/** @scrutinizer ignore-call */ executeQuery(
array(
'query' => $this->query,
'bind' => $this->bindData
)
);
protected function buildDescription()
return array();
public function reverse($query, $bindData = array())
$this->getDriver()->reverseQuery(array(
reverseQuery()
$this->getDriver()->/** @scrutinizer ignore-call */ reverseQuery(array(
'query' => $query,
'bind_data' => $bindData
));
return $this;