File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 22
33namespace Coderflex \LaravelTicket \Concerns ;
44
5+ use Coderflex \LaravelTicket \Enums \Priority ;
56use Coderflex \LaravelTicket \Enums \Status ;
67use Illuminate \Database \Eloquent \Model ;
7- use Coderflex \LaravelTicket \Enums \Priority ;
88
99trait InteractsWithTickets
1010{
@@ -203,6 +203,7 @@ public function assignTo(Model|int $user): self
203203 public function makePriorityAsLow (): self
204204 {
205205 $ this ->update (['priority ' => Priority::LOW ->value ]);
206+
206207 return $ this ;
207208 }
208209
@@ -212,6 +213,7 @@ public function makePriorityAsLow(): self
212213 public function makePriorityAsNormal (): self
213214 {
214215 $ this ->update (['priority ' => Priority::NORMAL ->value ]);
216+
215217 return $ this ;
216218 }
217219
@@ -221,6 +223,7 @@ public function makePriorityAsNormal(): self
221223 public function makePriorityAsHigh (): self
222224 {
223225 $ this ->update (['priority ' => Priority::HIGH ->value ]);
226+
224227 return $ this ;
225228 }
226229}
You can’t perform that action at this time.
0 commit comments