You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Foo
{
publicfunctionbar()
{
if (class_exists('\Bla')) {
Bla::baz();
}
}
}
produces Call to static method baz() on an unknown class Bla, if the Bla class really does not exist. What should we do in this case? Or, what can we do?