Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Tactix can be integrated into Laravel projects with a custom service provider.
namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use Symfony\Component\Yaml\Yaml;
use Tactix\Blacklist;
use Tactix\BlacklistFactory;

class BlacklistProvider extends ServiceProvider
Expand All @@ -194,7 +194,7 @@ class BlacklistProvider extends ServiceProvider
$configPath = config_path('tactix.yaml');

return file_exists($configPath)
? BlacklistFactory::fromYaml($configPath)
? BlacklistFactory::fromYamlFile($configPath)
: BlacklistFactory::DEFAULT();
});
}
Expand Down