mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
PATCH: docblock for return value fixed for get_by_link
This commit is contained in:
parent
12c11e5308
commit
10e2c1f271
@ -406,7 +406,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
|||||||
*
|
*
|
||||||
* @param string $link The link of the page to search for
|
* @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
|
* @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)
|
public static function get_by_link($link, $cache = true)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user