Skip to content

Commit 7105029

Browse files
committed
return type
Signed-off-by: Andrey Pyzhikov <5071@mail.ru>
1 parent ab420a7 commit 7105029

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

system/Database/BaseBuilder.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,8 @@ public function selectCount(string $select = '', string $alias = '')
447447

448448
/**
449449
* Adds a subquery to the selection
450-
*
451-
* @return static
452450
*/
453-
public function selectSubquery(BaseBuilder $subquery, string $as)
451+
public function selectSubquery(BaseBuilder $subquery, string $as): self
454452
{
455453
if (! $this->isSubquery($subquery)) {
456454
throw new DatabaseException(

0 commit comments

Comments
 (0)