summaryrefslogtreecommitdiffstats
path: root/apps/federation/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-07-19 16:06:22 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:15 +0200
commitd321e9792ef7f521309b6e84f0da650da6cf1250 (patch)
treeb83c1ae7c7dd569c7a2105283d41cb842dce9796 /apps/federation/lib
parent28098a7602e429044b3128f4db4ae92f3edbb6fd (diff)
downloadnextcloud-server-d321e9792ef7f521309b6e84f0da650da6cf1250.tar.gz
nextcloud-server-d321e9792ef7f521309b6e84f0da650da6cf1250.zip
Add |null to PHPDoc
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/federation/lib')
-rw-r--r--apps/federation/lib/BackgroundJob/GetSharedSecret.php2
-rw-r--r--apps/federation/lib/BackgroundJob/RequestSharedSecret.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/federation/lib/BackgroundJob/GetSharedSecret.php b/apps/federation/lib/BackgroundJob/GetSharedSecret.php
index b1367be9524..8a8d475da61 100644
--- a/apps/federation/lib/BackgroundJob/GetSharedSecret.php
+++ b/apps/federation/lib/BackgroundJob/GetSharedSecret.php
@@ -121,7 +121,7 @@ class GetSharedSecret extends Job{
* run the job, then remove it from the joblist
*
* @param JobList $jobList
- * @param ILogger $logger
+ * @param ILogger|null $logger
*/
public function execute($jobList, ILogger $logger = null) {
$target = $this->argument['url'];
diff --git a/apps/federation/lib/BackgroundJob/RequestSharedSecret.php b/apps/federation/lib/BackgroundJob/RequestSharedSecret.php
index 9123e37300d..77d0234ef74 100644
--- a/apps/federation/lib/BackgroundJob/RequestSharedSecret.php
+++ b/apps/federation/lib/BackgroundJob/RequestSharedSecret.php
@@ -120,7 +120,7 @@ class RequestSharedSecret extends Job {
* run the job, then remove it from the joblist
*
* @param JobList $jobList
- * @param ILogger $logger
+ * @param ILogger|null $logger
*/
public function execute($jobList, ILogger $logger = null) {
$target = $this->argument['url'];