diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2021-03-04 21:47:44 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2021-03-04 21:47:44 +0100 |
commit | d7f7d3bc51e8301b40706f60cddb28569b782f45 (patch) | |
tree | c52a6c5eb94bf4302590e0a1897ced933dd63cf3 /lib/private | |
parent | b0fe408d1f08958d1d00c98810675cc8a70df686 (diff) | |
download | nextcloud-server-d7f7d3bc51e8301b40706f60cddb28569b782f45.tar.gz nextcloud-server-d7f7d3bc51e8301b40706f60cddb28569b782f45.zip |
Type CompositeExpression and ICompositeExpression
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/DB/QueryBuilder/CompositeExpression.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/DB/QueryBuilder/CompositeExpression.php b/lib/private/DB/QueryBuilder/CompositeExpression.php index 512343662ad..ae9e654d5bb 100644 --- a/lib/private/DB/QueryBuilder/CompositeExpression.php +++ b/lib/private/DB/QueryBuilder/CompositeExpression.php @@ -45,7 +45,7 @@ class CompositeExpression implements ICompositeExpression, \Countable { * * @return \OCP\DB\QueryBuilder\ICompositeExpression */ - public function addMultiple(array $parts = []) { + public function addMultiple(array $parts = []): ICompositeExpression { $this->compositeExpression->addMultiple($parts); return $this; @@ -58,7 +58,7 @@ class CompositeExpression implements ICompositeExpression, \Countable { * * @return \OCP\DB\QueryBuilder\ICompositeExpression */ - public function add($part) { + public function add($part): ICompositeExpression { $this->compositeExpression->add($part); return $this; @@ -69,7 +69,7 @@ class CompositeExpression implements ICompositeExpression, \Countable { * * @return integer */ - public function count() { + public function count(): int { return $this->compositeExpression->count(); } @@ -78,7 +78,7 @@ class CompositeExpression implements ICompositeExpression, \Countable { * * @return string */ - public function getType() { + public function getType(): string { return $this->compositeExpression->getType(); } @@ -87,7 +87,7 @@ class CompositeExpression implements ICompositeExpression, \Countable { * * @return string */ - public function __toString() { + public function __toString(): string { return (string) $this->compositeExpression; } } |