Completed
Push — master ( b20973...5ddf61 )
by
11:58
created
app/Listeners/NotificationListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,12 +51,12 @@
 block discarded – undo
51 51
      */
52 52
     protected function push($user_ids, $msg, $extras = null)
53 53
     {
54
-        if (! $this->jpush) {
54
+        if (!$this->jpush) {
55 55
             $this->jpush = new Jpush();
56 56
         }
57 57
 
58 58
         $user_ids = (array) $user_ids;
59
-        $user_ids = array_map(function ($user_id) {
59
+        $user_ids = array_map(function($user_id) {
60 60
             return 'userid_'.$user_id;
61 61
         }, $user_ids);
62 62
 
Please login to merge, or discard this patch.
app/Repositories/Eloquent/Traits/WithOnlyTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function withOnly($relation, $columns = null, $with_trashed = false)
17 17
     {
18
-        $this->model = $this->model->with([$relation => function ($query) use ($columns, $with_trashed) {
18
+        $this->model = $this->model->with([$relation => function($query) use ($columns, $with_trashed) {
19 19
             if ($with_trashed) {
20 20
                 $query->withTrashed();
21 21
             }
Please login to merge, or discard this patch.