Skip to content

Commit

Permalink
Use ConfigProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
olvlvl committed Feb 25, 2023
1 parent ab64080 commit f2ffa99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/AutoConfig.php
Expand Up @@ -11,16 +11,16 @@

namespace ICanBoogie\Binding\Prototype;

use ICanBoogie\Application;
use ICanBoogie\ConfigProvider;
use ICanBoogie\Prototype;

final class AutoConfig
{
/**
* Binds prototype configuration.
*/
public static function configure(Application $app): void
public static function configure(ConfigProvider $config_provider): void
{
Prototype::bind($app->configs->config_for_class(Prototype\Config::class));
Prototype::bind($config_provider->config_for_class(Prototype\Config::class));
}
}

0 comments on commit f2ffa99

Please sign in to comment.