@@ -39,13 +39,13 @@ discard block |
||
39 | 39 | $result = sprintf('new %sTableWithHint(\'%s\'%s, array(' |
40 | 40 | , !strncasecmp($dbType, 'Mysql', 5) ? 'Mysql' : $dbType |
41 | 41 | , $dbParser->escape($this->name) |
42 | - , $this->alias ? ', \'' . $dbParser->escape($this->alias) . '\'' : ', null' |
|
42 | + , $this->alias ? ', \''.$dbParser->escape($this->alias).'\'' : ', null' |
|
43 | 43 | //, ', \'' . $dbParser->escape($this->index->name) .'\', \'' . $this->index->type .'\'' |
44 | 44 | ); |
45 | - foreach($this->index as $indx) |
|
45 | + foreach ($this->index as $indx) |
|
46 | 46 | { |
47 | 47 | $result .= "new IndexHint("; |
48 | - $result .= '\'' . $dbParser->escape($indx->name) . '\', \'' . $indx->type . '\'' . ') , '; |
|
48 | + $result .= '\''.$dbParser->escape($indx->name).'\', \''.$indx->type.'\''.') , '; |
|
49 | 49 | } |
50 | 50 | $result = substr($result, 0, -2); |
51 | 51 | $result .= '))'; |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | |
55 | 55 | function getArguments() |
56 | 56 | { |
57 | - if(!isset($this->conditionsTag)) |
|
57 | + if (!isset($this->conditionsTag)) |
|
58 | 58 | { |
59 | 59 | return array(); |
60 | 60 | } |