Development

Changeset 17583

You must first sign up to be able to contribute.

Changeset 17583

Show
Ignore:
Timestamp:
04/24/09 17:22:34 (4 years ago)
Author:
hartym
Message:

[1.2, 1.3] fixed wrong PHPDoc type hinting (reported by nicolas)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.2/lib/generator/sfModelGeneratorConfiguration.class.php

    r17581 r17583  
    388388   * edit/new form page, to avoid data injection while saving the object. 
    389389   * 
    390    * @param mixed $form 
    391    * @return void 
    392    */ 
    393   protected function fixUnusedFields($form) 
     390   * @param sfForm $form 
     391   * @return sfForm 
     392   */ 
     393  protected function fixUnusedFields(sfForm $form) 
    394394  { 
    395395    if (!$display = $form->getObject()->isNew() ? $this->getNewDisplay() : $this->getEditDisplay()) 
  • branches/1.3/lib/generator/sfModelGeneratorConfiguration.class.php

    r17582 r17583  
    438438   * edit/new form page, to avoid data injection while saving the object. 
    439439   * 
    440    * @param mixed $form 
    441    * @return void 
    442    */ 
    443   protected function fixUnusedFields($form) 
     440   * @param sfForm $form 
     441   * @return sfForm 
     442   */ 
     443  protected function fixUnusedFields(sfForm $form) 
    444444  { 
    445445    if (!$display = $form->getObject()->isNew() ? $this->getNewDisplay() : $this->getEditDisplay())