Completed
Push — master ( fb6868...6b1f48 )
by Maxime
126:23 queued 122:16
created
src/Distilleries/FormBuilder/FormBuilderServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 
150 150
     /**
151 151
      * Check if an alias already exists in the IOC
152
-     * @param $alias
152
+     * @param string $alias
153 153
      * @return bool
154 154
      */
155 155
     private function aliasExists($alias)
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,13 +21,13 @@  discard block
 block discarded – undo
21 21
         $this->registerFormIfHeeded();
22 22
 
23 23
         $this->mergeConfigFrom(
24
-            __DIR__ . '/../../config/config.php',
24
+            __DIR__.'/../../config/config.php',
25 25
             'laravel-form-builder'
26 26
         );
27 27
 
28 28
         $this->registerFormHelper();
29 29
 
30
-        $this->app->singleton('laravel-form-builder', function ($app) {
30
+        $this->app->singleton('laravel-form-builder', function($app) {
31 31
 
32 32
             return new \Kris\LaravelFormBuilder\FormBuilder($app, $app['laravel-form-helper']);
33 33
         });
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                 return $form->setSessionStore($app['session.store']);
89 89
             });
90 90
 
91
-            if (! $this->aliasExists('Form')) {
91
+            if (!$this->aliasExists('Form')) {
92 92
 
93 93
                 AliasLoader::getInstance()->alias(
94 94
                     'Form',
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
                 return new HtmlBuilder($app['url']);
112 112
             });
113 113
 
114
-            if (! $this->aliasExists('Html')) {
114
+            if (!$this->aliasExists('Html')) {
115 115
 
116 116
                 AliasLoader::getInstance()->alias(
117 117
                     'Html',
Please login to merge, or discard this patch.