By the sounds of it, you have a class by the same name. It could be the class or method. Try changing the class name or as an alternative you can use 'as'...
use Illuminate\Encryption\Encrypter as Encrypt;
Class Encrypter {
...
}
Note that we are changing the name of the 'use' here. As mentioned , the other option would be to change the name of the class to some thing you are in.
If this isn't the issue, then you probably have a class that is the same somewhere else and things are getting confused.
Hope it helps.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community