Skip to content

Commit 5eecf62

Browse files
committed
CS
1 parent 49ac0cc commit 5eecf62

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Sanpi/Behatch/Context/BrowserContext.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,7 @@ public function theSelectBoxShouldContain($select, $option)
373373
$option = str_replace('\\"', '"', $option);
374374

375375
$obj = $this->getSession()->getPage()->findField($select);
376-
if ( $obj == null)
377-
{
376+
if ($obj === null) {
378377
throw new ElementNotFoundException(
379378
$this->getSession(), 'select box', 'id|name|label|value', $select
380379
);
@@ -398,8 +397,7 @@ public function theSelectBoxShouldNotContain($select, $option)
398397
$option = str_replace('\\"', '"', $option);
399398

400399
$obj = $this->getSession()->getPage()->findField($select);
401-
if ( $obj == null)
402-
{
400+
if ($obj === null) {
403401
throw new ElementNotFoundException(
404402
$this->getSession(), 'select box', 'id|name|label|value', $select
405403
);

0 commit comments

Comments
 (0)