mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00: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
|
@ -25,7 +25,7 @@ class ConfigFactory
|
|||
*
|
||||
* @return Config\IConfigAdapter
|
||||
*/
|
||||
public static function createConfig($type, $config)
|
||||
public static function createConfig($type, Config\IConfigCache $config)
|
||||
{
|
||||
if ($type == 'preload') {
|
||||
return new Config\PreloadConfigAdapter($config);
|
||||
|
@ -41,7 +41,7 @@ class ConfigFactory
|
|||
*
|
||||
* @return Config\IPConfigAdapter
|
||||
*/
|
||||
public static function createPConfig($type, $config, $uid = null)
|
||||
public static function createPConfig($type, Config\IPConfigCache $config, $uid = null)
|
||||
{
|
||||
if ($type == 'preload') {
|
||||
return new Config\PreloadPConfigAdapter($config, $uid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue