From e41704b2110ca5111a0003cd6134be354e2cd8c1 Mon Sep 17 00:00:00 2001 From: Calum Brodie Date: Thu, 31 May 2012 14:08:56 +0200 Subject: [PATCH] Fixed inline example of concat method --- en/reference/query-builder.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/reference/query-builder.rst b/en/reference/query-builder.rst index 0217719fd..c0ae0e660 100644 --- a/en/reference/query-builder.rst +++ b/en/reference/query-builder.rst @@ -356,7 +356,7 @@ complete list of supported helper methods available: // Example - $qb->expr()->trim('u.firstname') public function trim($x); // Returns Expr\Func - // Example - $qb->expr()->concat('u.firstname', $qb->expr()->concat(' ', 'u.lastname')) + // Example - $qb->expr()->concat('u.firstname', $qb->expr()->concat($qb->expr()->literal(' '), 'u.lastname')) public function concat($x, $y); // Returns Expr\Func // Example - $qb->expr()->substr('u.firstname', 0, 1)