Skip to content

Commit

Permalink
Fix PHPCS error.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 2, 2016
1 parent e41ccdb commit 3587ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Model/Datasource/DboSource.php
Expand Up @@ -3124,7 +3124,7 @@ public function length($real) {
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));

Expand Down

0 comments on commit 3587ac9

Please sign in to comment.