Skip to content

Commit 440e5cd

Browse files
committed
Clean things up a little
1 parent acb755c commit 440e5cd

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

src/ServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function register()
3131
$this->app->bind('arrilot.async-widget', function () {
3232
return new AsyncWidgetFactory(new LaravelApplicationWrapper());
3333
});
34-
34+
3535
$this->app->singleton('arrilot.widget-group-collection', function () {
3636
return new WidgetGroupCollection(new LaravelApplicationWrapper());
3737
});
@@ -63,7 +63,7 @@ public function boot()
6363
'prefix' => 'arrilot',
6464
];
6565

66-
if (! $this->app->routesAreCached()) {
66+
if (!$this->app->routesAreCached()) {
6767
$this->app['router']->group($routeConfig, function ($router) {
6868
$router->get('load-widget', 'WidgetController@showWidget');
6969
});

src/WidgetGroupCollection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
class WidgetGroupCollection
88
{
9-
109
/**
1110
* The array of widget groups.
1211
*

tests/WidgetFactoryTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Arrilot\Widgets\Test\Dummies\TestCachedWidget;
77
use Arrilot\Widgets\Test\Support\TestApplicationWrapper;
88
use Arrilot\Widgets\Test\Support\TestCase;
9-
use Arrilot\Widgets\WidgetGroup;
109

1110
class WidgetFactoryTest extends TestCase
1211
{

tests/WidgetGroupCollectionTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Arrilot\Widgets\Test;
44

5-
use Arrilot\Widgets\Factories\WidgetFactory;
6-
use Arrilot\Widgets\Test\Dummies\TestCachedWidget;
75
use Arrilot\Widgets\Test\Support\TestApplicationWrapper;
86
use Arrilot\Widgets\Test\Support\TestCase;
97
use Arrilot\Widgets\WidgetGroup;

0 commit comments

Comments
 (0)