From: Michael Date: Sun, 19 Jan 2020 09:51:37 +0000 (+0000) Subject: Some more added lines X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cdbc94a9e1b27f8843e3c423b46701338bebbf7a;p=friendica.git Some more added lines --- diff --git a/src/Core/System.php b/src/Core/System.php index a2b88a6314..b0cfe28bee 100644 --- a/src/Core/System.php +++ b/src/Core/System.php @@ -22,6 +22,7 @@ class System { /** * Returns a string with a callstack. Can be used for logging. + * * @param integer $depth optional, default 4 * @return string */ diff --git a/src/Core/Worker.php b/src/Core/Worker.php index 2e6e03e9b1..dc85ebf7ca 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -534,6 +534,7 @@ class Worker /** * fix the queue entry if the worker process died + * * @return void * @throws \Exception */ @@ -953,6 +954,7 @@ class Worker /** * Removes a workerqueue entry from the current process + * * @return void * @throws \Exception */ @@ -968,6 +970,7 @@ class Worker /** * Call the front end worker + * * @return void * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ @@ -983,6 +986,7 @@ class Worker /** * Call the front end worker if there aren't any active + * * @return void * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ @@ -1034,6 +1038,7 @@ class Worker /** * Removes long running worker processes + * * @return void * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ @@ -1052,6 +1057,7 @@ class Worker /** * Runs the cron processes + * * @return void * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ @@ -1071,6 +1077,7 @@ class Worker /** * Spawns a new worker + * * @param bool $do_cron * @return void * @throws \Friendica\Network\HTTPException\InternalServerErrorException @@ -1224,6 +1231,7 @@ class Worker /** * Defers the current worker entry + * * @return boolean had the entry been deferred? */ public static function defer() diff --git a/src/Object/Image.php b/src/Object/Image.php index fd4713b339..dec4f4eea4 100644 --- a/src/Object/Image.php +++ b/src/Object/Image.php @@ -58,6 +58,7 @@ class Image /** * Destructor + * * @return void */ public function __destruct() @@ -672,6 +673,7 @@ class Image /** * supported mimetypes and corresponding file extensions + * * @return array * @deprecated in version 2019.12 please use Util\Images::supportedTypes() instead. */ @@ -682,6 +684,7 @@ class Image /** * Maps Mime types to Imagick formats + * * @return array With with image formats (mime type as key) * @deprecated in version 2019.12 please use Util\Images::getFormatsMap() instead. */ diff --git a/src/Worker/Cron.php b/src/Worker/Cron.php index 8fac404722..853ca449b4 100644 --- a/src/Worker/Cron.php +++ b/src/Worker/Cron.php @@ -138,6 +138,7 @@ class Cron /** * Update public contacts + * * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ private static function updatePublicContacts() { diff --git a/src/Worker/DBClean.php b/src/Worker/DBClean.php index 9cfcf21f2a..92c942522d 100644 --- a/src/Worker/DBClean.php +++ b/src/Worker/DBClean.php @@ -43,6 +43,7 @@ class DBClean { /** * Remove orphaned database entries + * * @param integer $stage What should be deleted? * * Values for $stage: