You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -162,11 +162,11 @@ The `ticket` model has also a list of methods for interacting with another relat
162
162
| Method | Arguments | Example | Description |
163
163
|---|---|---|---|
164
164
|`attachLabels`|`mixed` id, `array` attributes, `bool` touch | associate labels into an existing ticket |`$ticket->attachLabels([1,2,3,4])`|
165
-
|`syncLabels`|`Model|array` ids, `bool` detouching | associate labels into an existing ticket |`$ticket->syncLabels([1,2,3,4])`|
165
+
|`syncLabels`|`Model/array` ids, `bool` detouching | associate labels into an existing ticket |`$ticket->syncLabels([1,2,3,4])`|
166
166
|`attachCategories`|`mixed` id, `array` attributes, `bool` touch | associate categories into an existing ticket |`$ticket->attachCategories([1,2,3,4])`|
167
-
|`syncCategories`|`Model|array` ids, `bool` detouching | associate categories into an existing ticket |`$ticket->syncCategories([1,2,3,4])`|
167
+
|`syncCategories`|`Model/array` ids, `bool` detouching | associate categories into an existing ticket |`$ticket->syncCategories([1,2,3,4])`|
168
168
|`message`|`string` message | add new message on an existing ticket |`$ticket->message('A message in a ticket')`|
169
-
|`messageAsUser`|`Model|null` user, `string` message | add new message on an existing ticket as a deffrent user |`$ticket->messageAsUser($user, 'A message in a ticket')`|
169
+
|`messageAsUser`|`Model/null` user, `string` message | add new message on an existing ticket as a deffrent user |`$ticket->messageAsUser($user, 'A message in a ticket')`|
170
170
171
171
> The `attachCategories` and `syncCategories` methods, is an alternative for `attach` and `sync` laravel methods, and if you want to learn more, please take a look at this [link](https://laravel.com/docs/9.x/eloquent-relationships#attaching-detaching)
0 commit comments