Skip to content

Commit 8de560d

Browse files
committed
Added @return $this to CompositeExpression
1 parent 6731282 commit 8de560d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Doctrine/DBAL/Query/Expression/CompositeExpression.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ public function __construct(string $type, array $parts = [])
5252
* Adds multiple parts to composite expression.
5353
*
5454
* @param self[]|string[] $parts
55+
*
56+
* @return $this
5557
*/
5658
public function addMultiple(array $parts = []) : self
5759
{
@@ -66,6 +68,8 @@ public function addMultiple(array $parts = []) : self
6668
* Adds an expression to composite expression.
6769
*
6870
* @param mixed $part
71+
*
72+
* @return $this
6973
*/
7074
public function add($part) : self
7175
{

0 commit comments

Comments
 (0)