Merge pull request #2676 from sunnysideup/patch-13

DOC: docblock for return value fixed for get_by_link
This commit is contained in:
Steve Boyd 2021-08-05 13:42:08 +12:00 committed by GitHub
commit 293c98790d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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