Completed
Push — master ( 785674...6f8682 )
by Chubarov
02:34
created
src/config.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -1,25 +1,25 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-     //     Your native language
5
-     //     0 — Russian,
6
-     //     1 — Ukrainian,
7
-     //     2 — Belarusian,
8
-     //     3 — English,
9
-     //     4 — Spanish,
10
-     //     5 — Finnish,
11
-     //     6 — German,
12
-     //     7 — Italian.
13
-     'locale'   => 0,
4
+        //     Your native language
5
+        //     0 — Russian,
6
+        //     1 — Ukrainian,
7
+        //     2 — Belarusian,
8
+        //     3 — English,
9
+        //     4 — Spanish,
10
+        //     5 — Finnish,
11
+        //     6 — German,
12
+        //     7 — Italian.
13
+        'locale'   => 0,
14 14
 
15
-     // Country you wish to migrate
16
-     // standard 3166-1 alpha-2
17
-     // example RU,AU
15
+        // Country you wish to migrate
16
+        // standard 3166-1 alpha-2
17
+        // example RU,AU
18 18
     'country'  => 'RU',
19 19
 
20
-     'nameTable' => [
21
-         'country' => 'country',
22
-         'regions' => 'regions',
23
-         'cities'  => 'cities'
24
-     ]
20
+        'nameTable' => [
21
+            'country' => 'country',
22
+            'regions' => 'regions',
23
+            'cities'  => 'cities'
24
+        ]
25 25
 ];
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
src/Support/Local.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
 
20 20
     public function setLocal(string $local)
21 21
     {
22
-        if ( isset($this->mapLocal[$local]) )
22
+        if (isset($this->mapLocal[$local]))
23 23
         {
24 24
             config(['geography.locale' => $this->mapLocal[$local]]);
25
-        } else{
25
+        } else {
26 26
             throw new Exception('not locale');
27 27
         }
28 28
 
Please login to merge, or discard this patch.
src/database/migrations/CountryMigration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 {
10 10
     public function execute()
11 11
     {
12
-        Capsule::schema()->create('country', function ($table) {
12
+        Capsule::schema()->create('country', function($table) {
13 13
             $table->increments('id');
14 14
             $table->string('title', 100);
15 15
             $table->string('code')->nullable()->comments('unique value');
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
     public function check(callable $callback)
22 22
     {
23
-        if ( Capsule::schema()->hasTable('country') === false )
23
+        if (Capsule::schema()->hasTable('country') === false)
24 24
         {
25 25
             call_user_func($callback, $this);
26 26
         }
Please login to merge, or discard this patch.