Skip to content

Commit 3d75905

Browse files
committed
CS Fixes
1 parent e670e43 commit 3d75905

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Doctrine/DBAL/Schema/Comparator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function diffSequence(Sequence $sequence1, Sequence $sequence2)
184184
return true;
185185
}
186186

187-
return $sequence1->getInitialValue() != $sequence2->getInitialValue();
187+
return $sequence1->getInitialValue() !== $sequence2->getInitialValue();
188188
}
189189

190190
/**
@@ -402,7 +402,7 @@ public function diffForeignKey(ForeignKeyConstraint $key1, ForeignKeyConstraint
402402
return true;
403403
}
404404

405-
return $key1->onDelete() != $key2->onDelete();
405+
return $key1->onDelete() !== $key2->onDelete();
406406
}
407407

408408
/**

lib/Doctrine/DBAL/Schema/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function isFullfilledBy(Index $other)
226226
return false;
227227
}
228228

229-
return $other->isUnique() == $this->isUnique();
229+
return $other->isUnique() === $this->isUnique();
230230
}
231231

232232
return false;

0 commit comments

Comments
 (0)