Skip to content

Commit 64c592f

Browse files
authored
Add return type
1 parent 848ee7c commit 64c592f

File tree

1 file changed

+1
-1
lines changed
  • content/docs/1_guide/19_virtual-pages/4_content-from-csv

1 file changed

+1
-1
lines changed

content/docs/1_guide/19_virtual-pages/4_content-from-csv/guide.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ use Kirby\Uuid\Uuid;
7171
class AnimalsPage extends Page
7272
{
7373

74-
public function children()
74+
public function children(): Pages
7575
{
7676
if ($this->children instanceof Pages) {
7777
return $this->children;

0 commit comments

Comments
 (0)