Permalink
Browse files

variable name changed

  • Loading branch information...
1 parent 64f6ee3 commit e4c73515b8cb015ba102cac469c08daf7bfdd853 @zerkalica committed Aug 1, 2012
View
12 Config/Definition/Builder/MenuNodeDefinition.php
@@ -35,7 +35,7 @@ function($v) {
return preg_split('/\s*,\s*/', $v);
})->end()
->prototype('scalar')->end()
- ->end()
+ ->end()
->scalarNode('label')->end()
->scalarNode('translateDomain')->end()
->arrayNode('translateParameters')
@@ -47,11 +47,11 @@ function($v) {
->scalarNode('name')->end()
->scalarNode('class')->end()
->arrayNode('permissions')
- ->beforeNormalization()->ifString()->then(
- function($v) {
- return preg_split('/\s*,\s*/', $v);
- })->end()
- ->prototype('scalar')->end()
+ ->beforeNormalization()->ifString()->then(
+ function($v) {
+ return preg_split('/\s*,\s*/', $v);
+ })->end()
+ ->prototype('scalar')->end()
->end()
->end()
->end()
View
2 DependencyInjection/MillwrightMenuExtension.php
@@ -10,7 +10,7 @@
*/
class MillwrightMenuExtension extends Extension
{
- protected $configRoot = __DIR__;
+ protected $bundleRoot = __DIR__;
protected $isYml = false;
/**

0 comments on commit e4c7351

Please sign in to comment.