Skip to content
This repository was archived by the owner on Aug 5, 2025. It is now read-only.

Commit f836d7c

Browse files
committed
Fix formatting (spaces, not tabs)
1 parent 9f2a1b2 commit f836d7c

File tree

2 files changed

+417
-368
lines changed

2 files changed

+417
-368
lines changed

src/Manavo/BootstrapForms/BootstrapFormsServiceProvider.php

Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,49 @@
22

33
use Illuminate\Html\HtmlServiceProvider as IlluminateHtmlServiceProvider;
44

5-
class BootstrapFormsServiceProvider extends IlluminateHtmlServiceProvider {
6-
7-
/**
8-
* Indicates if loading of the provider is deferred.
9-
*
10-
* @var bool
11-
*/
12-
protected $defer = false;
13-
14-
/**
15-
* Bootstrap the application events.
16-
*
17-
* @return void
18-
*/
19-
public function boot()
20-
{
21-
$this->package('manavo/bootstrap-forms');
22-
}
23-
24-
/**
25-
* Register the service provider.
26-
*
27-
* @return void
28-
*/
29-
public function registerFormBuilder()
30-
{
31-
$this->app->bindShared('form', function($app)
32-
{
33-
$form = new FormBuilder($app['html'], $app['url'], $app['session.store']->getToken());
34-
35-
return $form->setSessionStore($app['session.store']);
36-
});
37-
}
38-
39-
/**
40-
* Get the services provided by the provider.
41-
*
42-
* @return array
43-
*/
44-
public function provides()
45-
{
46-
return array();
47-
}
5+
class BootstrapFormsServiceProvider extends IlluminateHtmlServiceProvider
6+
{
7+
8+
/**
9+
* Indicates if loading of the provider is deferred.
10+
*
11+
* @var bool
12+
*/
13+
protected $defer = false;
14+
15+
/**
16+
* Bootstrap the application events.
17+
*
18+
* @return void
19+
*/
20+
public function boot()
21+
{
22+
$this->package('manavo/bootstrap-forms');
23+
}
24+
25+
/**
26+
* Register the service provider.
27+
*
28+
* @return void
29+
*/
30+
public function registerFormBuilder()
31+
{
32+
$this->app->bindShared('form', function ($app) {
33+
$form = new FormBuilder($app['html'], $app['url'],
34+
$app['session.store']->getToken());
35+
36+
return $form->setSessionStore($app['session.store']);
37+
});
38+
}
39+
40+
/**
41+
* Get the services provided by the provider.
42+
*
43+
* @return array
44+
*/
45+
public function provides()
46+
{
47+
return array();
48+
}
4849

4950
}

0 commit comments

Comments
 (0)