Skip to content

Commit 49def90

Browse files
author
NiallSmyth
committed
Changing getItemResourceForModel to protected to allow overriding
2 parents f5521fc + ae8da9c commit 49def90

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
@@ -573,7 +573,7 @@ private function fetchItems($rangeStart, $rangeEnd, RhubarbDateTime $since = nul
573573
return [$items, $collectionSize];
574574
}
575575

576-
private function getItemResourceForModel($model)
576+
protected function getItemResourceForModel($model)
577577
{
578578
$resource = clone $this;
579579
$resource->parentResource = $this;

0 commit comments

Comments
 (0)