merged branch ruian/issue-3992 (PR #4006)
Commits
-------
45ada32
Add Support for boolean as to string into yaml extension
Discussion
----------
Add Support for boolean as to string into yaml extension
Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: 3992
Todo:
- Maybe use only boolean checker instead of YamlDumper->dump
This commit is contained in:
commit
3c62ebf52e
@ -52,7 +52,7 @@ class YamlExtension extends \Twig_Extension
|
||||
return '%'.gettype($value).'% '.$this->encode($value);
|
||||
}
|
||||
|
||||
return $value;
|
||||
return $this->encode($value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user