The declaration of $_knownFlags trigger the error Class 'Zend\Mail\Storage\Storage' not found #763

Merged
merged 1 commit into from Feb 1, 2012

2 participants

@rsandrea

Changed line 27 from:
use Zend\Mail\Protocol;

to:
use Zend\Mail\Protocol,
Zend\Mail\Storage;

As the declaration of the static variable $_knownFlags triggered the error:
"Fatal error: Class 'Zend\Mail\Storage\Storage' not found" it happens because the autoloader try to find the class Storage inside the name space Zend\Mail\Storage.

@rsandrea rsandrea Changed line 27 from:
use Zend\Mail\Protocol;

to:
use Zend\Mail\Protocol,
    Zend\Mail\Storage;

As the declaration of the static variable $_knownFlags triggered the error:
Fatal error: Class 'Zend\Mail\Storage\Storage' not found because the autoloader tried to find the class Storage inside the name space Zend\Mail\Storage.
b45e756
@weierophinney weierophinney merged commit b45e756 into zendframework:master Feb 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment