ZF2-459: Wrong phpdoc comments and non-existing classes used
I'm using RC3.
There are a lot classes used that do not exist. If you search for the following strings you will find them. I don't know how to fix them, because I don't know what the correct replacement/new class is in zf2.
\Zend\Db\Table \Zend\Db\Metadata\Table \Zend\Db\Metadata\ColumnCollection \Zend\Db\Metadata\ConstraintCollection
"ConstraintKeyObject" is wrong, and I cannot find a method "getColumnName()" anywhere /** @var $key \Zend\Db\Metadata\Object\ConstraintKeyObject */ $primaryKey = $key->getColumnName();
Should that be \PDO::FETCH_ASSOC? Db\Db::FETCH_ASSOC
Search for "\Zend\Loader\PluginLoader\Exception"
Search in whole project for "Object\ConstraintKeyObject"
PHPStorm tells me this is wrong (or bad code)? But maybe this is a false positive of PHPStorm. $this->handles[$index] = & $handles;
It would be cool if someone could have a look at all those classes and repair it.