Skip to content

Commit bc1e0ca

Browse files
[10.x] Update doc in Eloquent model (#47562)
1 parent c262c1f commit bc1e0ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Database/Eloquent/Model.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ public function loadMissing($relations)
746746
*
747747
* @param array|string $relations
748748
* @param string $column
749-
* @param string $function
749+
* @param string|null $function
750750
* @return $this
751751
*/
752752
public function loadAggregate($relations, $column, $function = null)
@@ -834,7 +834,7 @@ public function loadExists($relations)
834834
* @param string $relation
835835
* @param array $relations
836836
* @param string $column
837-
* @param string $function
837+
* @param string|null $function
838838
* @return $this
839839
*/
840840
public function loadMorphAggregate($relation, $relations, $column, $function = null)

0 commit comments

Comments
 (0)