File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616 }
1717 ],
1818 "require" : {
19- "php" : " 7.1.*|7.2.*|7.3.*|7.4.*|8.0.*|8.1.*|8.2.*|8.3.*"
19+ "php" : " 7.1.*|7.2.*|7.3.*|7.4.*|8.0.*|8.1.*|8.2.*|8.3.*|8.4.* "
2020 },
2121 "require-dev" : {
2222 "ivopetkov/docs-generator" : " 1.*"
Original file line number Diff line number Diff line change @@ -324,11 +324,11 @@ public function concat($list): self
324324 * Extract a slice of the list.
325325 *
326326 * @param int $offset The index position where the extraction should begin
327- * @param int $length The max length of the items in the extracted slice.
327+ * @param int|null $length The max length of the items in the extracted slice.
328328 * @return mixed Returns a slice of the list.
329329 * @throws \InvalidArgumentException
330330 */
331- public function slice (int $ offset , int $ length = null )
331+ public function slice (int $ offset , ? int $ length = null )
332332 {
333333 $ actions = $ this ->internalDataListActions ;
334334 $ actions [] = ['slice ' , $ offset , $ length ];
You can’t perform that action at this time.
0 commit comments