Skip to content

Commit

Permalink
Fix arguments for "truncate_to_tooltip" method
Browse files Browse the repository at this point in the history
  • Loading branch information
grizzlylab committed Dec 6, 2016
1 parent 56d3089 commit 0dbcb53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Twig/UIComponentExtension.php
Expand Up @@ -270,7 +270,7 @@ public function modal(\Twig_Environment $environment, $body, array $options = []
*
* @return mixed
*/
public function truncate_to_tooltip(\Twig_Environment $env, $value, $length = null, $preserve = null, $separator = null)
public function truncate_to_tooltip(\Twig_Environment $env, $value, $length = 30, $preserve = false, $separator = '...')
{
$config = $this->uiConfig['truncate_to_tooltip'];

Expand Down

0 comments on commit 0dbcb53

Please sign in to comment.