Fix return type

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-10-21 11:02:05 +02:00
parent 4b8fec49e7
commit 2dd50b4adc
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
2 changed files with 4 additions and 2 deletions

View File

@ -685,7 +685,8 @@ class Manager implements ICommentsManager {
* @param string $verb
* @param string $actorType
* @param string[] $actors
* @return array
* @return \DateTime[] Map of "string actor" => "\DateTime most recent comment date"
* @psalm-return array<string, \DateTime>
* @since 21.0.0
*/
public function getLastCommentDateByActor(

View File

@ -205,7 +205,8 @@ interface ICommentsManager {
* @param string $verb
* @param string $actorType
* @param string[] $actors
* @return array Map of "string actor" => "\DateTime most recent comment date"
* @return \DateTime[] Map of "string actor" => "\DateTime most recent comment date"
* @psalm-return array<string, \DateTime>
* @since 21.0.0
*/
public function getLastCommentDateByActor(