@@ -7,23 +7,23 @@ |
||
7 | 7 | |
8 | 8 | class ObserverServiceProvider extends ServiceProvider |
9 | 9 | { |
10 | - /** |
|
11 | - * Bootstrap the application services. |
|
12 | - * |
|
13 | - * @return void |
|
14 | - */ |
|
15 | - public function boot() |
|
16 | - { |
|
17 | - Device::observe(app(\PiFinder\Observers\DeviceObserver::class)); |
|
18 | - } |
|
10 | + /** |
|
11 | + * Bootstrap the application services. |
|
12 | + * |
|
13 | + * @return void |
|
14 | + */ |
|
15 | + public function boot() |
|
16 | + { |
|
17 | + Device::observe(app(\PiFinder\Observers\DeviceObserver::class)); |
|
18 | + } |
|
19 | 19 | |
20 | - /** |
|
21 | - * Register the application services. |
|
22 | - * |
|
23 | - * @return void |
|
24 | - */ |
|
25 | - public function register() |
|
26 | - { |
|
27 | - // |
|
28 | - } |
|
20 | + /** |
|
21 | + * Register the application services. |
|
22 | + * |
|
23 | + * @return void |
|
24 | + */ |
|
25 | + public function register() |
|
26 | + { |
|
27 | + // |
|
28 | + } |
|
29 | 29 | } |
@@ -7,25 +7,25 @@ |
||
7 | 7 | |
8 | 8 | class Kernel extends ConsoleKernel |
9 | 9 | { |
10 | - /** |
|
11 | - * The Artisan commands provided by your application. |
|
12 | - * |
|
13 | - * @var array |
|
14 | - */ |
|
15 | - protected $commands = [ |
|
16 | - \PiFinder\Console\Commands\FlushOldDevices::class, |
|
17 | - \PiFinder\Console\Commands\UserCreate::class, |
|
18 | - \PiFinder\Console\Commands\UserDelete::class, |
|
19 | - ]; |
|
10 | + /** |
|
11 | + * The Artisan commands provided by your application. |
|
12 | + * |
|
13 | + * @var array |
|
14 | + */ |
|
15 | + protected $commands = [ |
|
16 | + \PiFinder\Console\Commands\FlushOldDevices::class, |
|
17 | + \PiFinder\Console\Commands\UserCreate::class, |
|
18 | + \PiFinder\Console\Commands\UserDelete::class, |
|
19 | + ]; |
|
20 | 20 | |
21 | - /** |
|
22 | - * Define the application's command schedule. |
|
23 | - * |
|
24 | - * @param \Illuminate\Console\Scheduling\Schedule $schedule |
|
25 | - */ |
|
26 | - protected function schedule(Schedule $schedule) |
|
27 | - { |
|
28 | - $schedule->command('pi:flush') |
|
29 | - ->everyFiveMinutes(); |
|
30 | - } |
|
21 | + /** |
|
22 | + * Define the application's command schedule. |
|
23 | + * |
|
24 | + * @param \Illuminate\Console\Scheduling\Schedule $schedule |
|
25 | + */ |
|
26 | + protected function schedule(Schedule $schedule) |
|
27 | + { |
|
28 | + $schedule->command('pi:flush') |
|
29 | + ->everyFiveMinutes(); |
|
30 | + } |
|
31 | 31 | } |