Skip to content

Commit

Permalink
small bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liverbool committed Oct 5, 2017
1 parent 964facb commit 1e33592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Controller/UpdateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private function createFlashTranslateMessage(string $message)
return $translated;
}

return ucwords(preg_replace('/phpmob|\.|_/', '', $message));
return ucwords(trim(preg_replace('/phpmob|\.|_/', ' ', $message)));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function getConfigTreeBuilder()
->children()
->scalarNode('enabled')->defaultTrue()->end()
->scalarNode('type')->defaultValue('default')->end()
->scalarNode('value')->defaultNull()->end()
->variableNode('value')->defaultNull()->end()
->scalarNode('label')->defaultNull()->end()
->arrayNode('blueprint')
->addDefaultsIfNotSet()
Expand Down

0 comments on commit 1e33592

Please sign in to comment.