Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
using === for count() compare
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed May 8, 2018
1 parent 1ac578f commit 7736d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TableGateway/Feature/MetadataFeature.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function postInitialize()
}

$pkck = $pkck->getColumns();
if (count($pkc) == 1) {
if (count($pkc) === 1) {
$primaryKey = $pkck[0];
} else {
$primaryKey = $pkc;
Expand Down

0 comments on commit 7736d5b

Please sign in to comment.