Skip to content

Commit

Permalink
Be less strict with return types
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm authored Dec 14, 2019
1 parent 7451db3 commit 98432d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Manager/EventTrackerManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ public function getCreatedLog($target): ?Log

/**
* @param mixed $target
*
* @return EventUserInterface|null
*/
public function getCreator($target): ?EventUserInterface
public function getCreator($target)
{
if (null === $log = $this->getCreatedLog($target)) {
return null;
Expand Down

0 comments on commit 98432d9

Please sign in to comment.