Completed
Push — master ( a7d6e5...e7c634 )
by Iman
02:13
created
src/WidgetGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     protected function getStub()
36 36
     {
37 37
        
38
-		return __DIR__.'/../stubs/widget.stub';
38
+		return __DIR__ . '/../stubs/widget.stub';
39 39
        
40 40
     }
41 41
 
Please login to merge, or discard this patch.
src/WidgetsServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 	 */
15 15
 	public function boot()
16 16
 	{
17
-        $this->loadViewsFrom($this->app->basePath().'/app/Widgets/', 'Widgets');
17
+        $this->loadViewsFrom($this->app->basePath() . '/app/Widgets/', 'Widgets');
18 18
 	}
19 19
 
20 20
 	/**
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 	 */
29 29
 	public function register()
30 30
 	{
31
-		$this->app->singleton('command.imanghafoori.widget', function ($app) {
31
+		$this->app->singleton('command.imanghafoori.widget', function($app) {
32 32
             return $app['Imanghafoori\Widgets\WidgetGenerator'];
33 33
         });
34 34
 		
Please login to merge, or discard this patch.
src/BaseWidget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
     private function generateHtml(...$args)
176 176
     {
177 177
         // Everything inside this function is executed only when the cache is not available.
178
-        $expensivePhpCode = function () use ($args) {
178
+        $expensivePhpCode = function() use ($args) {
179 179
             $this->prepareDataForView($args);
180 180
 
181 181
             // render the template with the resulting data.
Please login to merge, or discard this patch.