@@ -468,9 +468,9 @@ public function thereAreDummyObjectsWithDummyDateAndDummyBoolean(int $nb, string
468
468
{
469
469
$ descriptions = ['Smart dummy. ' , 'Not so smart dummy. ' ];
470
470
471
- if (\ in_array ($ bool , ['true ' , '1 ' , 1 ], true )) {
471
+ if (in_array ($ bool , ['true ' , '1 ' , 1 ], true )) {
472
472
$ bool = true ;
473
- } elseif (\ in_array ($ bool , ['false ' , '0 ' , 0 ], true )) {
473
+ } elseif (in_array ($ bool , ['false ' , '0 ' , 0 ], true )) {
474
474
$ bool = false ;
475
475
} else {
476
476
$ expected = ['true ' , 'false ' , '1 ' , '0 ' ];
@@ -578,9 +578,9 @@ public function thereAreDummyObjectsWithDummyPrice(int $nb)
578
578
*/
579
579
public function thereAreDummyObjectsWithDummyBoolean (int $ nb , string $ bool )
580
580
{
581
- if (\ in_array ($ bool , ['true ' , '1 ' , 1 ], true )) {
581
+ if (in_array ($ bool , ['true ' , '1 ' , 1 ], true )) {
582
582
$ bool = true ;
583
- } elseif (\ in_array ($ bool , ['false ' , '0 ' , 0 ], true )) {
583
+ } elseif (in_array ($ bool , ['false ' , '0 ' , 0 ], true )) {
584
584
$ bool = false ;
585
585
} else {
586
586
$ expected = ['true ' , 'false ' , '1 ' , '0 ' ];
@@ -606,9 +606,9 @@ public function thereAreDummyObjectsWithDummyBoolean(int $nb, string $bool)
606
606
*/
607
607
public function thereAreDummyObjectsWithEmbeddedDummyBoolean (int $ nb , string $ bool )
608
608
{
609
- if (\ in_array ($ bool , ['true ' , '1 ' , 1 ], true )) {
609
+ if (in_array ($ bool , ['true ' , '1 ' , 1 ], true )) {
610
610
$ bool = true ;
611
- } elseif (\ in_array ($ bool , ['false ' , '0 ' , 0 ], true )) {
611
+ } elseif (in_array ($ bool , ['false ' , '0 ' , 0 ], true )) {
612
612
$ bool = false ;
613
613
} else {
614
614
$ expected = ['true ' , 'false ' , '1 ' , '0 ' ];
@@ -633,9 +633,9 @@ public function thereAreDummyObjectsWithEmbeddedDummyBoolean(int $nb, string $bo
633
633
*/
634
634
public function thereAreDummyObjectsWithRelationEmbeddedDummyBoolean (int $ nb , string $ bool )
635
635
{
636
- if (\ in_array ($ bool , ['true ' , '1 ' , 1 ], true )) {
636
+ if (in_array ($ bool , ['true ' , '1 ' , 1 ], true )) {
637
637
$ bool = true ;
638
- } elseif (\ in_array ($ bool , ['false ' , '0 ' , 0 ], true )) {
638
+ } elseif (in_array ($ bool , ['false ' , '0 ' , 0 ], true )) {
639
639
$ bool = false ;
640
640
} else {
641
641
$ expected = ['true ' , 'false ' , '1 ' , '0 ' ];
0 commit comments