Skip to content

Conversation

AlexeyDsov
Copy link
Member

Как-то раньше в глаза не бросалось, но PrimitiveHstore::export так же как и другие примитивы по логике должен возвращать то, что можно использовать для import'а - то есть ассоциативный массив.
Сейчас он возвращает Hstore объекты.
Предлагаю вот такой вот фикс, т.к. API ломается, то попасть оно должно только в мастер.

@AlexeyDsov
Copy link
Member Author

Добавил тесты + в случае если во внутренней форме ошибки - export будет возвращать null.

AlexeyDsov added a commit that referenced this pull request Aug 9, 2012
PrimitiveHstore::exportValue now return array instead of Hstore object
@AlexeyDsov AlexeyDsov merged commit 4362545 into onPHP:master Aug 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant