Skip to content

Commit

Permalink
Don't use unset $translator, use given $formatter instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ravage84 committed Jun 15, 2016
1 parent 583747f commit 4698718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/I18n/DateFormatTrait.php
Expand Up @@ -402,7 +402,7 @@ public static function diffFormatter($formatter = null)
}
return static::$diffFormatter;
}
return static::$diffFormatter = $translator;
return static::$diffFormatter = $formatter;
}

/**
Expand Down

0 comments on commit 4698718

Please sign in to comment.