File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Illuminate/Database/Eloquent/Relations/Concerns Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public function toggle($ids, $touch = true)
66
66
/**
67
67
* Sync the intermediate tables with a list of IDs without detaching.
68
68
*
69
- * @param \Illuminate\Support\Collection|\Illuminate\Database\Eloquent\Model|array $ids
69
+ * @param \Illuminate\Support\Collection|\Illuminate\Database\Eloquent\Model|array|int|string $ids
70
70
* @return array{attached: array, detached: array, updated: array}
71
71
*/
72
72
public function syncWithoutDetaching ($ ids )
@@ -77,7 +77,7 @@ public function syncWithoutDetaching($ids)
77
77
/**
78
78
* Sync the intermediate tables with a list of IDs or collection of models.
79
79
*
80
- * @param \Illuminate\Support\Collection|\Illuminate\Database\Eloquent\Model|array $ids
80
+ * @param \Illuminate\Support\Collection|\Illuminate\Database\Eloquent\Model|array|int|string $ids
81
81
* @param bool $detaching
82
82
* @return array{attached: array, detached: array, updated: array}
83
83
*/
@@ -130,7 +130,7 @@ public function sync($ids, $detaching = true)
130
130
/**
131
131
* Sync the intermediate tables with a list of IDs or collection of models with the given pivot values.
132
132
*
133
- * @param \Illuminate\Support\Collection|\Illuminate\Database\Eloquent\Model|array $ids
133
+ * @param \Illuminate\Support\Collection|\Illuminate\Database\Eloquent\Model|array|int|string $ids
134
134
* @param array $values
135
135
* @param bool $detaching
136
136
* @return array{attached: array, detached: array, updated: array}
You can’t perform that action at this time.
0 commit comments