Skip to content

Commit

Permalink
fix Codingstyle issues
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Müller <mimmi20@live.de>
  • Loading branch information
mimmi20 committed Jan 18, 2024
1 parent 4c77f83 commit 62bd115
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public function setData(iterable $data)

$this->hasValidated = false;
// $this->isPrepared = false;
$this->data = $data;
$this->data = $data;
$this->populateValues($data);

return $this;
Expand Down
4 changes: 0 additions & 4 deletions test/FormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
use Laminas\Form\Fieldset;
use Laminas\Form\FieldsetInterface;
use Laminas\Form\Form;
use Laminas\Form\FormInterface;
use Laminas\Form\View\Helper\FormCollection;
use Laminas\Hydrator\ArraySerializableHydrator;
use Laminas\Hydrator\ClassMethodsHydrator;
use Laminas\Hydrator\ObjectPropertyHydrator;
Expand Down Expand Up @@ -2421,12 +2419,10 @@ public function testSetInputFilterByNameMethodShouldSetValidInputFilterForForm()
}

/**
* @return void
* @group set-data
*/
public function testCanBindNestedCollectionAfterPrepare2(): void
{

$collection = new Element\Collection('numbers');
$collection->setOptions([
'count' => 2,
Expand Down

0 comments on commit 62bd115

Please sign in to comment.