Completed
Push — master ( 3b4433...f73259 )
by Vojta
14:27 queued 01:10
created
Plugin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -45,20 +45,20 @@
 block discarded – undo
45 45
     public function registerSchedule($schedule)
46 46
     {
47 47
         // Exchange service daily update when allowed by Settings
48
-        $schedule->call(function () {
48
+        $schedule->call(function() {
49 49
             $cnb = $this->app->make('cnb');
50 50
             $cnb->updateTodayExchangeRates();
51 51
 
52
-        })->daily()->when(function () {
52
+        })->daily()->when(function() {
53 53
             return !!Settings::get('exchange', true);
54 54
         });
55 55
 
56 56
         // PRIBOR service daily update when allowed by Settings
57
-        $schedule->call(function () {
57
+        $schedule->call(function() {
58 58
             $cnb = $this->app->make('cnb');
59 59
             $cnb->updateTodayPriborRates();
60 60
 
61
-        })->daily()->when(function () {
61
+        })->daily()->when(function() {
62 62
             return !!Settings::get('pribor', true);
63 63
         });
64 64
     }
Please login to merge, or discard this patch.
models/Settings.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,12 +6,12 @@
 block discarded – undo
6 6
 
7 7
 class Settings extends Model
8 8
 {
9
-	public $implement = ['System.Behaviors.SettingsModel'];
9
+    public $implement = ['System.Behaviors.SettingsModel'];
10 10
 
11
-	// A unique code
12
-	public $settingsCode = 'vojtasvoboda_cnbrates_settings';
11
+    // A unique code
12
+    public $settingsCode = 'vojtasvoboda_cnbrates_settings';
13 13
 
14
-	// Reference to field configuration
15
-	public $settingsFields = 'fields.yaml';
14
+    // Reference to field configuration
15
+    public $settingsFields = 'fields.yaml';
16 16
 
17 17
 }
18 18
\ No newline at end of file
Please login to merge, or discard this patch.