Forráskód Böngészése

Fix notification id error

兔姬桑 4 éve
szülő
commit
3ee4bfbebe
4 módosított fájl, 420 hozzáadás és 148 törlés
  1. 1 0
      .gitignore
  2. 2 2
      app/Notifications/DataAnomaly.php
  3. 2 2
      app/Notifications/TicketClosed.php
  4. 415 144
      composer.lock

+ 1 - 0
.gitignore

@@ -24,3 +24,4 @@ _ide_helper_models.php
 _ide_helper.php
 .php_cs.cache
 node_modules/*
+composer.phar

+ 2 - 2
app/Notifications/DataAnomaly.php

@@ -16,9 +16,9 @@ class DataAnomaly extends Notification implements ShouldQueue
     private $download;
     private $total;
 
-    public function __construct($id, $upload, $download, $total)
+    public function __construct($userId, $upload, $download, $total)
     {
-        $this->userId = $id;
+        $this->userId = $userId;
         $this->upload = $upload;
         $this->download = $download;
         $this->total = $total;

+ 2 - 2
app/Notifications/TicketClosed.php

@@ -17,9 +17,9 @@ class TicketClosed extends Notification implements ShouldQueue
     private $reason;
     private $is_user;
 
-    public function __construct($id, $title, $url, $reason, $is_user = null)
+    public function __construct($ticketId, $title, $url, $reason, $is_user = null)
     {
-        $this->ticketId = $id;
+        $this->ticketId = $ticketId;
         $this->title = $title;
         $this->url = $url;
         $this->reason = $reason;

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 415 - 144
composer.lock


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott