From 2c28aa00412be678ab189441d4ad2fd16ff0aa7b Mon Sep 17 00:00:00 2001 From: Sebastiaan Stok Date: Fri, 27 Feb 2015 16:45:59 +0100 Subject: [PATCH] fix wrong property in getConversionHints() --- src/Query/QueryGenerator.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Query/QueryGenerator.php b/src/Query/QueryGenerator.php index dc14a9f..0de7002 100644 --- a/src/Query/QueryGenerator.php +++ b/src/Query/QueryGenerator.php @@ -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; @@ -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) {