Skip to content

Commit 38673bd

Browse files
Applied fixes from StyleCI (#29)
1 parent dc11146 commit 38673bd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/GedmoExtensionsServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class GedmoExtensionsServiceProvider extends ServiceProvider
1818
public function register()
1919
{
2020
$this->app['events']->listen('doctrine.extensions.booting', function () {
21-
2221
$registry = $this->app->make('registry');
2322

2423
foreach ($registry->getManagers() as $manager) {

src/Translatable/TranslatableExtension.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class TranslatableExtension extends GedmoExtension
3030

3131
/**
3232
* @param Application $application
33-
* @param Repository $repository
34-
* @param Dispatcher $events
33+
* @param Repository $repository
34+
* @param Dispatcher $events
3535
*/
3636
public function __construct(Application $application, Repository $repository, Dispatcher $events)
3737
{
@@ -53,7 +53,7 @@ public function addSubscribers(EventManager $manager, EntityManagerInterface $em
5353

5454
$this->addSubscriber($subscriber, $manager, $reader);
5555

56-
$this->events->listen('locale.changed', function($locale) use ($subscriber) {
56+
$this->events->listen('locale.changed', function ($locale) use ($subscriber) {
5757
$subscriber->setTranslatableLocale($locale);
5858
});
5959
}

0 commit comments

Comments
 (0)