Browse files

Fixed CS/trailing whitespaces

  • Loading branch information...
1 parent a8145ce commit 49416d3d56a73cd83fc0b9b744e8814830400b44 @willdurand willdurand committed Feb 3, 2012
View
2 test/testsuite/generator/builder/om/GeneratedObjectArrayColumnTypeTest.php
@@ -140,7 +140,7 @@ public function testGetterDoesNotKeepValueBetweenTwoHydrationsWhenUsingOnDemandF
$q = ComplexColumnTypeEntity2Query::create()
->setFormatter(ModelCriteria::FORMAT_ON_DEMAND)
->find();
-
+
$tags = array();
foreach($q as $e) {
$tags[] = $e->getTags();
View
16 test/testsuite/generator/builder/om/GeneratedObjectObjectColumnTypeTest.php
@@ -55,19 +55,21 @@ public function testGetterDoesNotKeepValueBetweenTwoHydrationsWhenUsingOnDemandF
{
ComplexColumnTypeEntity1Query::create()->deleteAll();
$e = new ComplexColumnTypeEntity1();
- $e->setBar((object)array(
- 'a' =>1,
- 'b' => 2));
+ $e->setBar(array(
+ 'a' => 1,
+ 'b' => 2
+ ));
$e->save();
$e = new ComplexColumnTypeEntity1();
- $e->setBar((object)array(
- 'a' => 3,
- 'b' => 4));
+ $e->setBar(array(
+ 'a' => 3,
+ 'b' => 4
+ ));
$e->save();
$q = ComplexColumnTypeEntity1Query::create()
->setFormatter(ModelCriteria::FORMAT_ON_DEMAND)
->find();
-
+
$objects = array();
foreach($q as $e) {
$objects[] = $e->getBar();

0 comments on commit 49416d3

Please sign in to comment.