From 95be6ed077146b18dc53b9c3e17d1b3facc403cb Mon Sep 17 00:00:00 2001 From: GuySartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Tue, 8 Feb 2022 13:03:45 +1300 Subject: [PATCH] DOC Update old pre-namespaces PHPDoc The code in the original PHPDoc would have produced an error if used. --- src/Core/Injector/Injectable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Injector/Injectable.php b/src/Core/Injector/Injectable.php index 5a5117ca0..3fa982f1c 100644 --- a/src/Core/Injector/Injectable.php +++ b/src/Core/Injector/Injectable.php @@ -17,7 +17,7 @@ trait Injectable * This can be called in one of two ways - either calling via the class directly, * or calling on Object and passing the class name as the first parameter. The following * are equivalent: - * $list = DataList::create('SiteTree'); + * $list = DataList::create(SiteTree::class); * $list = SiteTree::get(); * * @param array $args