mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #2676 from sunnysideup/patch-13
DOC: docblock for return value fixed for get_by_link
This commit is contained in:
commit
293c98790d
@ -406,7 +406,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
||||
*
|
||||
* @param string $link The link of the page to search for
|
||||
* @param bool $cache True (default) to use caching, false to force a fresh search from the database
|
||||
* @return SiteTree
|
||||
* @return SiteTree|null
|
||||
*/
|
||||
public static function get_by_link($link, $cache = true)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user