mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #9342 from tristan-mastrodicasa/patch-1
Change from "Team" to Team::class
This commit is contained in:
commit
aebd8a5fb4
@ -23,7 +23,7 @@ use SilverStripe\ORM\DataObject;
|
||||
class Player extends DataObject
|
||||
{
|
||||
private static $has_one = [
|
||||
"Team" => "Team",
|
||||
"Team" => Team::class,
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user