1
0
mirror of synced 2025-01-24 17:21:40 +03:00
This commit is contained in:
Adrian Olek 2014-03-06 23:54:41 +01:00 committed by Marco Pivetta
parent cc2fb1a070
commit b3a2988d2c
3 changed files with 4 additions and 6 deletions

View File

@ -213,8 +213,7 @@ class YamlDriver extends FileDriver
$columns = $index['columns'];
}
if(!isset($index['flags']))
{
if( ! isset($index['flags'])) {
$flags = array();
} elseif (is_string($index['flags'])) {
$flags = explode(',', $index['flags']);

View File

@ -264,8 +264,7 @@ class SchemaTool
if (isset($class->table['indexes'])) {
foreach ($class->table['indexes'] as $indexName => $indexData) {
if(!isset($indexData['flags']))
{
if( ! isset($indexData['flags'])) {
$indexData['flags'] = array();
}