Passed
Push — master ( e7d716...29e698 )
by IRFA
01:50
created
src/Core/Localization.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@  discard block
 block discarded – undo
12 12
 {
13 13
 	private $region;
14 14
 	/**
15
-     * Method ini berfungsi untuk set tanggal dari config.
16
-     *
17
-     * @return boolean
18
-    */
15
+	 * Method ini berfungsi untuk set tanggal dari config.
16
+	 *
17
+	 * @return boolean
18
+	 */
19 19
 	private function lang()
20 20
 	{
21 21
 		if(!empty($this->region))
@@ -32,10 +32,10 @@  discard block
 block discarded – undo
32 32
 		$this->region = $region;
33 33
 	}
34 34
 	/**
35
-     * Method ini berfungsi untuk mengambil data libur dari file json.
36
-     *
37
-     * @return boolean
38
-    */
35
+	 * Method ini berfungsi untuk mengambil data libur dari file json.
36
+	 *
37
+	 * @return boolean
38
+	 */
39 39
 	public function holidayData($array = true)
40 40
 	{
41 41
 		if(function_exists('resource_path'))
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 		$arr = file_get_contents($file);
57 57
 		if($this->isJson($arr))
58 58
 		{
59
-    		return json_decode($arr,$array);
59
+			return json_decode($arr,$array);
60 60
 		} else{
61 61
 			 throw new \Exception('Json data is invalid.');
62 62
 
@@ -64,10 +64,10 @@  discard block
 block discarded – undo
64 64
 		}
65 65
 	}
66 66
 	/**
67
-     * Method ini berfungsi untuk validasi json
68
-     *
69
-     * @return boolean
70
-    */
67
+	 * Method ini berfungsi untuk validasi json
68
+	 *
69
+	 * @return boolean
70
+	 */
71 71
 	private function isJson($string) {
72 72
 		 json_decode($string);
73 73
 		 return (json_last_error() == JSON_ERROR_NONE);
Please login to merge, or discard this patch.