Passed
Push — master ( dc38dc...4bad72 )
by vahid
02:34
created
src/Main.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -51,17 +51,17 @@  discard block
 block discarded – undo
51 51
 	public function __construct() {
52 52
 
53 53
 
54
-        if( class_exists('\App')){
55
-            $this->lang = \App::getLocale();
56
-        }else{
57
-            $this->lang =  app('translator')->getLocale();
58
-        }
54
+		if( class_exists('\App')){
55
+			$this->lang = \App::getLocale();
56
+		}else{
57
+			$this->lang =  app('translator')->getLocale();
58
+		}
59 59
 
60 60
 		if(! file_exists(config_path($this->lang . '.php'))){
61
-            $this->config = include __DIR__ . '/../errors/lang/' . $this->lang . '.php';
62
-        } else {
63
-            $this->config = include config_path($this->lang . '.php');
64
-        }
61
+			$this->config = include __DIR__ . '/../errors/lang/' . $this->lang . '.php';
62
+		} else {
63
+			$this->config = include config_path($this->lang . '.php');
64
+		}
65 65
 
66 66
 	}
67 67
 
@@ -165,9 +165,9 @@  discard block
 block discarded – undo
165 165
 			$res[ 'error' ] = $this->getErrorCode();
166 166
 
167 167
 			if ( is_null( $message ) )
168
-		     $res[ 'message' ] = $this->getErrorMessage();
169
-		    else
170
-		     $res[ 'message' ] = $message;
168
+			 $res[ 'message' ] = $this->getErrorMessage();
169
+			else
170
+			 $res[ 'message' ] = $message;
171 171
 
172 172
 		} else {
173 173
 
Please login to merge, or discard this patch.
src/RespondServiceProvider.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -7,18 +7,18 @@  discard block
 block discarded – undo
7 7
 class RespondServiceProvider extends ServiceProvider
8 8
 {
9 9
 	/**
10
-	* Perform post-registration booting of services.
11
-	*
12
-	* @return void
13
-	*/
10
+	 * Perform post-registration booting of services.
11
+	 *
12
+	 * @return void
13
+	 */
14 14
 	public function boot()
15 15
 	{
16 16
 
17
-        if( class_exists('\App')){
18
-            $lang = \App::getLocale();
19
-        }else{
20
-            $lang =  app('translator')->getLocale();
21
-        }
17
+		if( class_exists('\App')){
18
+			$lang = \App::getLocale();
19
+		}else{
20
+			$lang =  app('translator')->getLocale();
21
+		}
22 22
 
23 23
 		$this->publishes([
24 24
 			__DIR__.'/../errors/lang/' . $lang . '.php' => config_path( $lang . '.php' ),
@@ -28,10 +28,10 @@  discard block
 block discarded – undo
28 28
 
29 29
 
30 30
 	/**
31
-	* Register any package services.
32
-	*
33
-	* @return void
34
-	*/
31
+	 * Register any package services.
32
+	 *
33
+	 * @return void
34
+	 */
35 35
 	public function register()
36 36
 	{
37 37
 
Please login to merge, or discard this patch.