Passed
Push — master ( 08561e...25c03a )
by IRFA
04:19
created
src/Core/SerialConnector.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -9,17 +9,17 @@
 block discarded – undo
9 9
 
10 10
 class SerialConnector
11 11
 {
12
-	protected $res_active;
13
-	protected $res_message;
12
+    protected $res_active;
13
+    protected $res_message;
14 14
 
15
-	protected function checkSN()
16
-	{
17
-		$json = json_decode(Curl::to(config('irfa.app_license_client.url'))
18
-	    ->withData(array('serial' => config('irfa.app_license_client.serial_number')))
19
-	    ->post());
20
-		$this->res_active = $json->data->active;
21
-		$this->res_message = $json->data->message;
15
+    protected function checkSN()
16
+    {
17
+        $json = json_decode(Curl::to(config('irfa.app_license_client.url'))
18
+        ->withData(array('serial' => config('irfa.app_license_client.serial_number')))
19
+        ->post());
20
+        $this->res_active = $json->data->active;
21
+        $this->res_message = $json->data->message;
22 22
 
23
-		return $this->res_active;
24
-	}
23
+        return $this->res_active;
24
+    }
25 25
 }
Please login to merge, or discard this patch.
config/irfa/app_license_client.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php 
2
-	return [ 
2
+    return [ 
3 3
 
4
-		'serial_number' => env('SERIAL_NUMBER',null),
5
-		'url' 			=> env('LICENSE',null),
4
+        'serial_number' => env('SERIAL_NUMBER',null),
5
+        'url' 			=> env('LICENSE',null),
6 6
 
7 7
 ];
Please login to merge, or discard this patch.