]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Log/ParsedLogIterator.php
spelling: object
[friendica.git] / src / Model / Log / ParsedLogIterator.php
index 151a66adb472d74538a6f1496187136725566d4a..d238920e4d8679378cc017b860db914d286f6ca5 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -25,7 +25,7 @@ use Friendica\Util\ReversedFileReader;
 use Friendica\Object\Log\ParsedLogLine;
 
 /**
- * An iterator which returns `\Friendica\Objec\Log\ParsedLogLine` instances
+ * An iterator which returns `\Friendica\Object\Log\ParsedLogLine` instances
  *
  * Uses `\Friendica\Util\ReversedFileReader` to fetch log lines
  * from newest to oldest.
@@ -200,9 +200,9 @@ class ParsedLogIterator implements \Iterator
         * Return current iterator value
         *
         * @see Iterator::current()
-        * @return ?ParsedLogLing
+        * @return ?ParsedLogLine
         */
-       public function current(): mixed
+       public function current(): ?ParsedLogLine
        {
                return $this->value;
        }