Skip to content

Commit

Permalink
Merge pull request cakephp#4348 from felixkempf/patch-3
Browse files Browse the repository at this point in the history
Update database-basics.rst
  • Loading branch information
markstory authored Sep 29, 2016
2 parents d4ca203 + 6fc4865 commit 80e34a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/orm/database-basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ value object and into SQL expressions::
public function marshall($value)
{
if (is_string($value)) {
$value = extract(',', $value);
$value = explode(',', $value);
}
if (is_array($value)) {
return new Point($value[0], $value[1]);
Expand Down

0 comments on commit 80e34a7

Please sign in to comment.