Skip to content

Commit ab5c5f1

Browse files
authored
Merge pull request #6 from webdevlabs/analysis-zRGkMY
Apply fixes from StyleCI
2 parents 4f76697 + 2b249f7 commit ab5c5f1

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)