From c0764568b008430eb6cd67ddbda59b89a7dc2749 Mon Sep 17 00:00:00 2001 From: Luan Hospodarsky Date: Mon, 16 Mar 2015 23:38:21 -0300 Subject: [PATCH] Fixing some more PHPCS issues in last commit --- src/ORM/Marshaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ORM/Marshaller.php b/src/ORM/Marshaller.php index 9cf2f3fce7f..8cfb3bac4c7 100644 --- a/src/ORM/Marshaller.php +++ b/src/ORM/Marshaller.php @@ -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] ]);