Skip to content

Commit

Permalink
fix wrong property in getConversionHints()
Browse files Browse the repository at this point in the history
  • Loading branch information
sstok committed Feb 27, 2015
1 parent 2455d17 commit 2c28aa0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Query/QueryGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,14 +236,12 @@ protected function acceptsField(FieldConfigInterface $field)
* @param string $column
*
* @return ConversionHints
*
* @internal param mixed $value
*/
protected function getConversionHints($fieldName, $strategy = null, $column = null)
{
$hints = new ConversionHints();
$hints->field = $this->fields[$fieldName];
$hints->value = $column;
$hints->column = $column;
$hints->connection = $this->connection;
$hints->conversionStrategy = $strategy;

Expand Down Expand Up @@ -491,7 +489,7 @@ protected function getConversionStrategy($fieldName, $value)
* @param string $column
* @param int|null $strategy
*
* @return string
* @return string|integer
*/
protected function getValueAsSql($value, $fieldName, $column, $strategy = null)
{
Expand Down

0 comments on commit 2c28aa0

Please sign in to comment.