Skip to content

Commit

Permalink
Fixing some more PHPCS issues in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mylux committed Mar 17, 2015
1 parent 266f6d2 commit c076456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Marshaller.php
Expand Up @@ -108,7 +108,7 @@ public function one(array $data, array $options = [])
$primaryKey = $schema->primaryKey();

if (array_intersect($primaryKey, array_keys($data)) == $primaryKey) {
$tableName=$this->_table->table();
$tableName = $this->_table->table();
$record = $this->_table->find('all');
foreach ($primaryKey as $pkey) {
$record->where(["$tableName.$pkey" => $data[$pkey] ]);
Expand Down

0 comments on commit c076456

Please sign in to comment.