PATCH: docblock for return value fixed for get_by_link

This commit is contained in:
Nicolaas 2021-07-17 11:39:18 +12:00 committed by GitHub
parent 12c11e5308
commit 10e2c1f271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{