#013460: variable type documentation

Description:

class ezcDbSchemaDiff
{
    /**
     * All changed tables
     *
-     * @var array(string=>array)
+     * @var array(string=>ezcDbSchemaTableDiff)
     */
    public $changedTables;

and class ezcDbSchemaCommonSqlWriter line 236:


     * @param string $tableName
-     * @param string $tableDiff
-     * @param ezcDbSchemaTableDiff $tableDiff
     */
    protected function generateDiffSchemaTableAsSql( $tableName, ezcDbSchemaTableDiff $tableDiff )

I think there are some more of this type.

Maybe the document checker script from toby could be extended to check whether param types and classes in the param list match.


Environment:

Operating System:
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):


- Attachments

No attachments for this issue.


- Comments

Fixed in rev. 8833

#257922 by Derick Rethans on August 26th, 2008 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Components Components » DatabaseSchema
Documentation
Affects Unknown
Fix Version 2008.2alpha1 - eZ components 2008.2alpha1
Reporter Thomas Koch
Responsible Derick Rethans
Status 0 Closed
Resolution Fixed
Created August 5th, 2008
Updated August 26th, 2008
Resolved August 26th, 2008
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #015537
  Graph shows to small and truncated rotated axis labels