|
@@ -35,7 +35,7 @@ |
|
|
block discarded – undo |
|
35
|
35
|
*/ |
|
36
|
36
|
public static function missPrimaryKeyRecord(string $tableName, array $primaryKeys, string $className, Exception $previous) : self |
|
37
|
37
|
{ |
|
38
|
|
- $primaryKeysStringified = implode(' and ', array_map(function ($key, $value) { |
|
|
38
|
+ $primaryKeysStringified = implode(' and ', array_map(function($key, $value) { |
|
39
|
39
|
return "'".$key."' = ".$value; |
|
40
|
40
|
}, array_keys($primaryKeys), $primaryKeys)); |
|
41
|
41
|
$exception = new self("No result found for query on table '".$tableName."' for ".$primaryKeysStringified, 0, $previous); |
Please login to merge, or discard this patch.