fix(php-cs): indentation / elseif, maybe braces?
Signed-off-by: Samuel <faust64@gmail.com>
This commit is contained in:
parent
e41afea739
commit
2c59e59023
|
@ -126,12 +126,14 @@ class Notifications {
|
||||||
} else {
|
} else {
|
||||||
\OC::$server->getLogger()->info(
|
\OC::$server->getLogger()->info(
|
||||||
"failed sharing $name with $shareWith",
|
"failed sharing $name with $shareWith",
|
||||||
[ 'app' => 'federatedfilesharing' ]);
|
['app' => 'federatedfilesharing']
|
||||||
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
\OC::$server->getLogger()->info(
|
\OC::$server->getLogger()->info(
|
||||||
"could not share $name, invalid contact $shareWith",
|
"could not share $name, invalid contact $shareWith",
|
||||||
[ 'app' => 'federatedfilesharing' ]);
|
['app' => 'federatedfilesharing']
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -185,15 +187,18 @@ class Notifications {
|
||||||
} elseif (!$validToken) {
|
} elseif (!$validToken) {
|
||||||
\OC::$server->getLogger()->info(
|
\OC::$server->getLogger()->info(
|
||||||
"invalid or missing token requesting re-share for $filename to $remote",
|
"invalid or missing token requesting re-share for $filename to $remote",
|
||||||
[ 'app' => 'federatedfilesharing' ]);
|
['app' => 'federatedfilesharing']
|
||||||
|
);
|
||||||
} elseif (!$validRemoteId) {
|
} elseif (!$validRemoteId) {
|
||||||
\OC::$server->getLogger()->info(
|
\OC::$server->getLogger()->info(
|
||||||
"missing remote id requesting re-share for $filename to $remote",
|
"missing remote id requesting re-share for $filename to $remote",
|
||||||
[ 'app' => 'federatedfilesharing' ]);
|
['app' => 'federatedfilesharing']
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
\OC::$server->getLogger()->info(
|
\OC::$server->getLogger()->info(
|
||||||
"failed requesting re-share for $filename to $remote",
|
"failed requesting re-share for $filename to $remote",
|
||||||
[ 'app' => 'federatedfilesharing' ]);
|
['app' => 'federatedfilesharing']
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue