mirror of
https://github.com/friendica/friendica
synced 2025-04-27 17:50:17 +00:00
Restore $uid parameter integer type-hint in Config
- Add integer type-hint to Feature::isEnabled
This commit is contained in:
parent
19247b62ae
commit
68f5b639eb
5 changed files with 31 additions and 31 deletions
|
@ -20,7 +20,7 @@ class Feature
|
|||
* @return boolean
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function isEnabled($uid, $feature)
|
||||
public static function isEnabled(int $uid, $feature)
|
||||
{
|
||||
$x = Config::get('feature_lock', $feature, false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue