forked from GNUsocial/gnu-social
Fix warnings - function arguments should expect values instead of references
This commit is contained in:
parent
65df78d5c8
commit
1507c32454
@ -2624,7 +2624,7 @@ class Notice extends Managed_DataObject
|
||||
return $this->_faves;
|
||||
}
|
||||
|
||||
function _setFaves(&$faves)
|
||||
function _setFaves($faves)
|
||||
{
|
||||
$this->_faves = $faves;
|
||||
}
|
||||
@ -2673,7 +2673,7 @@ class Notice extends Managed_DataObject
|
||||
return $this->_repeats;
|
||||
}
|
||||
|
||||
function _setRepeats(&$repeats)
|
||||
function _setRepeats($repeats)
|
||||
{
|
||||
$this->_repeats = $repeats;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user