Updating type-hints and some naming conventions

This commit is contained in:
Philipp Holzer 2019-02-04 09:30:48 +01:00
parent 1c51d7d22f
commit d78ac57514
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
9 changed files with 74 additions and 74 deletions

View file

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