Change from "Team" to Team::class
To be consistent with the rest of the doc
This commit is contained in:
parent
51a12d1de8
commit
aad33e36d7
|
@ -23,7 +23,7 @@ use SilverStripe\ORM\DataObject;
|
|||
class Player extends DataObject
|
||||
{
|
||||
private static $has_one = [
|
||||
"Team" => "Team",
|
||||
"Team" => Team::class,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue