Completed
Push — master ( bb5a47...9983dd )
by
unknown
02:05
created
src/RespondServiceProvider.php 2 patches
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -6,44 +6,44 @@
 block discarded – undo
6 6
 
7 7
 class RespondServiceProvider extends ServiceProvider
8 8
 {
9
-	/**
10
-	* Perform post-registration booting of services.
11
-	*
12
-	* @return void
13
-	*/
14
-	public function boot()
15
-	{
9
+ /**
10
+  * Perform post-registration booting of services.
11
+  *
12
+  * @return void
13
+  */
14
+ public function boot()
15
+ {
16 16
 
17
-		$lang = \App::getLocale();
17
+  $lang = \App::getLocale();
18 18
 
19
-		$this->publishes([
20
-			__DIR__.'/../errors/lang/' . $lang . '.php' => config_path( $lang . '.php' ),
21
-		]);
19
+  $this->publishes([
20
+   __DIR__.'/../errors/lang/' . $lang . '.php' => config_path( $lang . '.php' ),
21
+  ]);
22 22
 
23
-	}
23
+ }
24 24
 
25 25
 
26
-	/**
27
-	* Register any package services.
28
-	*
29
-	* @return void
30
-	*/
31
-	public function register()
32
-	{
26
+ /**
27
+  * Register any package services.
28
+  *
29
+  * @return void
30
+  */
31
+ public function register()
32
+ {
33 33
 
34
-		$this->registerMessages();
34
+  $this->registerMessages();
35 35
 
36
-	}
36
+ }
37 37
 
38
-	private function registerMessages()
39
-	{
38
+ private function registerMessages()
39
+ {
40 40
 
41
-		$this->app->bind( 'Anetwork\Respond\Messages', function() {
41
+  $this->app->bind( 'Anetwork\Respond\Messages', function() {
42 42
 
43
-			return new Messages();
43
+   return new Messages();
44 44
 
45
-		});
45
+  });
46 46
 
47
-	}
47
+ }
48 48
 
49 49
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 		$lang = \App::getLocale();
18 18
 
19 19
 		$this->publishes([
20
-			__DIR__.'/../errors/lang/' . $lang . '.php' => config_path( $lang . '.php' ),
20
+			__DIR__.'/../errors/lang/'.$lang.'.php' => config_path($lang.'.php'),
21 21
 		]);
22 22
 
23 23
 	}
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	private function registerMessages()
39 39
 	{
40 40
 
41
-		$this->app->bind( 'Anetwork\Respond\Messages', function() {
41
+		$this->app->bind('Anetwork\Respond\Messages', function() {
42 42
 
43 43
 			return new Messages();
44 44
 
Please login to merge, or discard this patch.