Skip to content

Commit 06f78ad

Browse files
Remove ::class notation for PHP 5.4 support
1 parent 1e55b75 commit 06f78ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Entities/ChildPost.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ class ChildPost extends Post
1212

1313
public function comments()
1414
{
15-
return $this->hasMany(Comment::class, 'post_id');
15+
return $this->hasMany('Tests\Entities\Comment', 'post_id');
1616
}
1717
}

0 commit comments

Comments
 (0)