Jump to content

Are you kidding me?


448191

Recommended Posts

Already found the cause, I was being stupid. Although you have to admit, that message confuses the hell out of you if don't know what's causing it.

 

Basically I have this supertype, with a private constructor (stupid stupid stupid) and a factory method. The factory method has access to the supertype's constructor, but the subtype does not and can not inherit it, since it is private. Since we never left the scope of the supertype, we end up with this peculiar, but correct, error message.

Link to comment
https://forums.phpfreaks.com/topic/90524-are-you-kidding-me/#findComment-464134
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.