Support the ongoing development of Laravel.io →
Installation Configuration Security
Last updated 1 year ago.
0

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.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ooiginla ooiginla Joined 22 Aug 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.