Skip to content

Commit ae8da9c

Browse files
author
NiallSmyth
committed
Changed getItemResourceForModel visibility to protected to allow overriding
1 parent 3ea2d0e commit ae8da9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/ModelRestResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ private function fetchItems($rangeStart, $rangeEnd, RhubarbDateTime $since = nul
558558
return [$items, sizeof($collection)];
559559
}
560560

561-
private function getItemResourceForModel($model)
561+
protected function getItemResourceForModel($model)
562562
{
563563
$resource = clone $this;
564564
$resource->parentResource = $this;

0 commit comments

Comments
 (0)