| @@ -106,7 +106,7 @@ discard block | ||
| 106 | 106 | * Checks whether the current SQL Server version has full-text | 
| 107 | 107 | * support installed and full-text is enabled for this database. | 
| 108 | 108 | * | 
| 109 | - * @return boolean | |
| 109 | + * @return string|boolean | |
| 110 | 110 | */ | 
| 111 | 111 |  	public function fullTextEnabled() { | 
| 112 | 112 |  		if($this->fullTextEnabled === null) { | 
| @@ -119,7 +119,7 @@ discard block | ||
| 119 | 119 | * Checks whether the current SQL Server version has full-text | 
| 120 | 120 | * support installed and full-text is enabled for this database. | 
| 121 | 121 | * | 
| 122 | - * @return boolean | |
| 122 | + * @return false|string | |
| 123 | 123 | */ | 
| 124 | 124 |  	protected function updateFullTextEnabled() { | 
| 125 | 125 | // Check if installed | 
| @@ -308,7 +308,7 @@ discard block | ||
| 308 | 308 | * Returns a SQL fragment for querying a fulltext search index | 
| 309 | 309 | * | 
| 310 | 310 | * @param $tableName specific - table name | 
| 311 | - * @param $keywords string The search query | |
| 311 | + * @param string $keywords string The search query | |
| 312 | 312 | * @param $fields array The list of field names to search on, or null to include all | 
| 313 | 313 | * | 
| 314 | 314 | * @returns null if keyword set is empty or the string with JOIN clause to be added to SQL query | 
| @@ -86,7 +86,7 @@ discard block | ||
| 86 | 86 | * Check if a fulltext index exists on a particular table name. | 
| 87 | 87 | * | 
| 88 | 88 | * @param string $tableName | 
| 89 | - * @return boolean TRUE index exists | FALSE index does not exist | NULL no support | |
| 89 | + * @return null|boolean TRUE index exists | FALSE index does not exist | NULL no support | |
| 90 | 90 | */ | 
| 91 | 91 |  	function fulltextIndexExists($tableName) { | 
| 92 | 92 | // Special case for no full text index support | 
| @@ -124,7 +124,7 @@ discard block | ||
| 124 | 124 | * Gets the identity column of a table | 
| 125 | 125 | * | 
| 126 | 126 | * @param string $tableName | 
| 127 | - * @return string|null | |
| 127 | + * @return string | |
| 128 | 128 | */ | 
| 129 | 129 |  	function getIdentityColumn($tableName) { | 
| 130 | 130 |  		return $this->preparedQuery(" | 
| @@ -168,7 +168,7 @@ discard block | ||
| 168 | 168 | * @param $options An map of additional options. The available keys are as follows: | 
| 169 | 169 | * - 'MSSQLDatabase'/'MySQLDatabase'/'PostgreSQLDatabase' - database-specific options such as "engine" for MySQL. | 
| 170 | 170 | * - 'temporary' - If true, then a temporary table will be created | 
| 171 | - * @return The table name generated. This may be different from the table name, for example with temporary tables. | |
| 171 | + * @return string table name generated. This may be different from the table name, for example with temporary tables. | |
| 172 | 172 | */ | 
| 173 | 173 |  	public function createTable($tableName, $fields = null, $indexes = null, $options = null, $advancedOptions = null) { | 
| 174 | 174 | $fieldSchemas = $indexSchemas = ""; | 
| @@ -233,7 +233,7 @@ discard block | ||
| 233 | 233 | * | 
| 234 | 234 | * @param string $tableName Table name column resides in | 
| 235 | 235 | * @param string $columnName Column name the constraint is for | 
| 236 | - * @return string|null | |
| 236 | + * @return string | |
| 237 | 237 | */ | 
| 238 | 238 |  	public function getConstraintName($tableName, $columnName) { | 
| 239 | 239 |  		return $this->preparedQuery(" | 
| @@ -288,7 +288,7 @@ discard block | ||
| 288 | 288 | * | 
| 289 | 289 | * @param string $tableName Name of the table | 
| 290 | 290 | * @param string $colName Name of the column | 
| 291 | - * @return string|null | |
| 291 | + * @return string | |
| 292 | 292 | */ | 
| 293 | 293 |  	protected function defaultConstraintName($tableName, $colName) { | 
| 294 | 294 |  		return $this->preparedQuery(" | 
| @@ -625,6 +625,7 @@ discard block | ||
| 625 | 625 | * For a given table name, get all the internal index names, | 
| 626 | 626 | * except for those that are primary keys and fulltext indexes. | 
| 627 | 627 | * | 
| 628 | + * @param string $tableName | |
| 628 | 629 | * @return array | 
| 629 | 630 | */ | 
| 630 | 631 |  	public function indexNames($tableName) { | 
| @@ -177,7 +177,6 @@ | ||
| 177 | 177 | * Quotes a string, including the "N" prefix so unicode | 
| 178 | 178 | * strings are saved to the database correctly. | 
| 179 | 179 | * | 
| 180 | - * @param string $string String to be encoded | |
| 181 | 180 | * @return string Processed string ready for DB | 
| 182 | 181 | */ | 
| 183 | 182 |  	public function quoteString($value) { |