Restore $uid parameter integer type-hint in Config

- Add integer type-hint to Feature::isEnabled
This commit is contained in:
Hypolite Petovan 2019-07-15 21:48:28 -04:00
parent 19247b62ae
commit 68f5b639eb
5 changed files with 31 additions and 31 deletions

View file

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