Commit da03fe3
authored
Remove mention of $count in Factory Sequence documentation (laravel#10816)
$count is not useful for Sequences used with a callback, as it will always be `1`. The only use for $count is one internal to the Sequence class logic, when an array is passed to the sequence constructor and the count is used to modulo the index to avoid accessing values beyond the size of the array.1 parent 35614d0 commit da03fe3
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
328 | 330 | | |
329 | 331 | | |
330 | 332 | | |
| |||
0 commit comments