From 3587ac99762977d8666d28e86ef8dfff3b1ea816 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 2 Oct 2016 19:06:10 -0400 Subject: [PATCH] Fix PHPCS error. --- lib/Cake/Model/Datasource/DboSource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Model/Datasource/DboSource.php b/lib/Cake/Model/Datasource/DboSource.php index 68dd384a4..a73eea8a7 100644 --- a/lib/Cake/Model/Datasource/DboSource.php +++ b/lib/Cake/Model/Datasource/DboSource.php @@ -3124,7 +3124,7 @@ class DboSource extends DataSource { return (int)$length; } if (in_array($type, array('enum', 'set'))) { - $values = array_map(function($value) { + $values = array_map(function ($value) { return trim(trim($value), '\'"'); }, explode(',', $length));