diff --git a/src/Core/Worker.php b/src/Core/Worker.php index b7067d2731..00885f6920 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -885,7 +885,7 @@ class Worker /** * Returns waiting jobs for the current process id * - * @return array|bool waiting workerqueue jobs or FALSE on failture + * @return array|bool waiting workerqueue jobs or FALSE on failure * @throws \Exception */ private static function getWaitingJobForPID() diff --git a/src/Model/Post/Link.php b/src/Model/Post/Link.php index dc77979511..3fafdd7eaf 100644 --- a/src/Model/Post/Link.php +++ b/src/Model/Post/Link.php @@ -58,7 +58,7 @@ class Link * @param int $uriId * @param string $url * @param string $size - * @return string Found link URL + id on success, $url on failture + * @return string Found link URL + id on success, $url on failure */ public static function getByLink(int $uriId, string $url, string $size = ''): string {