Commit d9580d5b authored by Fabien Potencier's avatar Fabien Potencier

fixed CS

parent 86fb50c1
...@@ -42,17 +42,11 @@ class SerializerServiceProvider implements ServiceProviderInterface ...@@ -42,17 +42,11 @@ class SerializerServiceProvider implements ServiceProviderInterface
}); });
$app['serializer.encoders'] = $app->share(function () { $app['serializer.encoders'] = $app->share(function () {
return array( return array(new JsonEncoder(), new XmlEncoder());
new JsonEncoder(),
new XmlEncoder()
);
}); });
$app['serializer.normalizers'] = $app->share(function () { $app['serializer.normalizers'] = $app->share(function () {
return array( return array(new CustomNormalizer(), new GetSetMethodNormalizer());
new CustomNormalizer(),
new GetSetMethodNormalizer()
);
}); });
} }
......
...@@ -55,10 +55,7 @@ class TranslationServiceProvider implements ServiceProviderInterface ...@@ -55,10 +55,7 @@ class TranslationServiceProvider implements ServiceProviderInterface
}); });
$app['translator.domains'] = array(); $app['translator.domains'] = array();
$app['locale_fallbacks'] = array('en');
$app['locale_fallbacks'] = array(
'en'
);
} }
public function boot(Application $app) public function boot(Application $app)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment