From 8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 10:09:03 -0400 Subject: Run php-cs-fixer on the code base --- app/ServiceProvider/ClassProvider.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/ServiceProvider/ClassProvider.php') diff --git a/app/ServiceProvider/ClassProvider.php b/app/ServiceProvider/ClassProvider.php index 322c1a9b..dde3cf10 100644 --- a/app/ServiceProvider/ClassProvider.php +++ b/app/ServiceProvider/ClassProvider.php @@ -112,15 +112,15 @@ class ClassProvider implements ServiceProviderInterface return new OAuth2($c); }); - $container['htmlConverter'] = function() { + $container['htmlConverter'] = function () { return new HtmlConverter(array('strip_tags' => true)); }; - $container['objectStorage'] = function() { + $container['objectStorage'] = function () { return new FileStorage(FILES_DIR); }; - $container['emailClient'] = function($container) { + $container['emailClient'] = function ($container) { $mailer = new EmailClient($container); $mailer->setTransport('smtp', '\Kanboard\Core\Mail\Transport\Smtp'); $mailer->setTransport('sendmail', '\Kanboard\Core\Mail\Transport\Sendmail'); @@ -128,7 +128,7 @@ class ClassProvider implements ServiceProviderInterface return $mailer; }; - $container['userNotificationType'] = function($container) { + $container['userNotificationType'] = function ($container) { $type = new UserNotificationType($container); $type->setType('email', t('Email'), '\Kanboard\Notification\Mail'); $type->setType('web', t('Web'), '\Kanboard\Notification\Web'); -- cgit v1.2.3