aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Comments
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 09:22:29 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 10:16:08 +0200
commit2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (patch)
treea3da09ffec08d6c8abc3bf0fabb7f8c8a1c830f6 /lib/private/Comments
parent1575bd838f2e938b18b04bcdcc28e2fc24d95c45 (diff)
downloadnextcloud-server-2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b.tar.gz
nextcloud-server-2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b.zip
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Comments')
-rw-r--r--lib/private/Comments/Comment.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php
index 3b4a523b884..a45b1e05cfe 100644
--- a/lib/private/Comments/Comment.php
+++ b/lib/private/Comments/Comment.php
@@ -300,8 +300,8 @@ class Comment implements IComment {
*/
public function setActor($actorType, $actorId) {
if(
- !is_string($actorType) || !trim($actorType)
- || !is_string($actorId) || $actorId === ''
+ !is_string($actorType) || !trim($actorType)
+ || !is_string($actorId) || $actorId === ''
) {
throw new \InvalidArgumentException('String expected.');
}
@@ -386,8 +386,8 @@ class Comment implements IComment {
*/
public function setObject($objectType, $objectId) {
if(
- !is_string($objectType) || !trim($objectType)
- || !is_string($objectId) || trim($objectId) === ''
+ !is_string($objectType) || !trim($objectType)
+ || !is_string($objectId) || trim($objectId) === ''
) {
throw new \InvalidArgumentException('String expected.');
}