Skip to content

Commit 2b249f7

Browse files
webdevlabsStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 4f76697 commit 2b249f7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<?php
22

33
namespace App\Commands;
4+
45
use System\DB;
56

67
class clearPushSubscriptions
78
{
8-
9-
public function __construct ()
9+
public function __construct()
1010
{
11-
$results = DB::column("SELECT COUNT(*) from `push_subscriptions` WHERE `added` < (NOW() - INTERVAL 1 DAY)");
11+
$results = DB::column('SELECT COUNT(*) from `push_subscriptions` WHERE `added` < (NOW() - INTERVAL 1 DAY)');
1212
echo 'Deleted '.$results.' records from database';
1313
}
14-
1514
}

0 commit comments

Comments
 (0)