mirror of
https://github.com/friendica/friendica
synced 2025-04-30 07:04:23 +02:00
Updating type-hints and some naming conventions
This commit is contained in:
parent
1c51d7d22f
commit
d78ac57514
9 changed files with 74 additions and 74 deletions
|
@ -32,7 +32,7 @@ class Config
|
|||
*
|
||||
* @param Config\IConfigCache $config The configuration cache
|
||||
*/
|
||||
public static function init($config)
|
||||
public static function init(Config\IConfigCache $config)
|
||||
{
|
||||
self::$config = $config;
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ class Config
|
|||
*
|
||||
* @param Config\IConfigAdapter $adapter
|
||||
*/
|
||||
public static function setAdapter($adapter)
|
||||
public static function setAdapter(Config\IConfigAdapter $adapter)
|
||||
{
|
||||
self::$adapter = $adapter;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue