Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.8] Only allow strings for resolving facade roots (laravel#25525)
Because of laravel#25497 and laravel#25512, all facades in core are now properly using service identifiers (strings) for resolving their "root" service from the container. This means that the hack for resolving objects directly can now be removed. In case you're wondering why this is necessary: As far as I can tell, facade features like ::swap() did not work with these types of facades (Blade and Schema), because those methods did not deal with the possibility of objects being returned.
- Loading branch information