Skip to content
Permalink
Browse files

Don't use unset $translator, use given $formatter instead

  • Loading branch information...
ravage84 committed Jun 15, 2016
1 parent 583747f commit 4698718120d3f871f10aee83cfec4bc06e676ef9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/I18n/DateFormatTrait.php
@@ -402,7 +402,7 @@ public static function diffFormatter($formatter = null)
}
return static::$diffFormatter;
}
return static::$diffFormatter = $translator;
return static::$diffFormatter = $formatter;
}
/**

0 comments on commit 4698718

Please sign in to comment.
You can’t perform that action at this time.