summaryrefslogtreecommitdiff
path: root/includes/classes/LibertyContent.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/classes/LibertyContent.php')
-rwxr-xr-xincludes/classes/LibertyContent.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/classes/LibertyContent.php b/includes/classes/LibertyContent.php
index 5a547d7..1424e61 100755
--- a/includes/classes/LibertyContent.php
+++ b/includes/classes/LibertyContent.php
@@ -1943,7 +1943,7 @@ class LibertyContent extends LibertyBase implements BitCacheable {
* @return string Descriptive title for the page
*/
public static function getTitleFromHash( &$pHash, $pDefault=true ) {
- $ret = null;
+ $ret = '';
if( !empty( $pHash['title'] ) ) {
$ret = $pHash['title'];
} elseif( $pDefault && !empty( $pHash['content_name'] ) ) {
@@ -2286,7 +2286,7 @@ class LibertyContent extends LibertyBase implements BitCacheable {
}
- public function getThumbnailUri( $pSize='small' ) {
+ public function getThumbnailUri( string $pSize='small' ) {
if( $this->isValid() ) {
return $this->getThumbnailUriFromHash( $this->mInfo, $pSize );
}