From 2f2236a1d6e558bdd4ea702afb4a359cb06d3eaa Mon Sep 17 00:00:00 2001 From: Andrei Sozonov Date: Fri, 1 Apr 2016 15:54:17 +0300 Subject: [PATCH] fix typo --- lib/Doctrine/ORM/Query/Expr/OrderBy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Query/Expr/OrderBy.php b/lib/Doctrine/ORM/Query/Expr/OrderBy.php index 932548bd6..291be6131 100644 --- a/lib/Doctrine/ORM/Query/Expr/OrderBy.php +++ b/lib/Doctrine/ORM/Query/Expr/OrderBy.php @@ -97,7 +97,7 @@ class OrderBy /** * @return string */ - public function __tostring() + public function __toString() { return $this->preSeparator . implode($this->separator, $this->parts) . $this->postSeparator; }