@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | * Checks whether the current SQL Server version has full-text |
| 111 | 111 | * support installed and full-text is enabled for this database. |
| 112 | 112 | * |
| 113 | - * @return boolean |
|
| 113 | + * @return string|boolean |
|
| 114 | 114 | */ |
| 115 | 115 | public function fullTextEnabled() |
| 116 | 116 | { |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | * Checks whether the current SQL Server version has full-text |
| 125 | 125 | * support installed and full-text is enabled for this database. |
| 126 | 126 | * |
| 127 | - * @return boolean |
|
| 127 | + * @return false|string |
|
| 128 | 128 | */ |
| 129 | 129 | protected function updateFullTextEnabled() |
| 130 | 130 | { |
@@ -339,7 +339,7 @@ discard block |
||
| 339 | 339 | * Returns a SQL fragment for querying a fulltext search index |
| 340 | 340 | * |
| 341 | 341 | * @param $tableName specific - table name |
| 342 | - * @param $keywords string The search query |
|
| 342 | + * @param string $keywords string The search query |
|
| 343 | 343 | * @param $fields array The list of field names to search on, or null to include all |
| 344 | 344 | * |
| 345 | 345 | * @returns null if keyword set is empty or the string with JOIN clause to be added to SQL query |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | * Check if a fulltext index exists on a particular table name. |
| 96 | 96 | * |
| 97 | 97 | * @param string $tableName |
| 98 | - * @return boolean TRUE index exists | FALSE index does not exist | NULL no support |
|
| 98 | + * @return null|boolean TRUE index exists | FALSE index does not exist | NULL no support |
|
| 99 | 99 | */ |
| 100 | 100 | public function fulltextIndexExists($tableName) |
| 101 | 101 | { |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | * Gets the identity column of a table |
| 138 | 138 | * |
| 139 | 139 | * @param string $tableName |
| 140 | - * @return string|null |
|
| 140 | + * @return string |
|
| 141 | 141 | */ |
| 142 | 142 | public function getIdentityColumn($tableName) |
| 143 | 143 | { |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | * @param $options An map of additional options. The available keys are as follows: |
| 189 | 189 | * - 'MSSQLDatabase'/'MySQLDatabase'/'PostgreSQLDatabase' - database-specific options such as "engine" for MySQL. |
| 190 | 190 | * - 'temporary' - If true, then a temporary table will be created |
| 191 | - * @return The table name generated. This may be different from the table name, for example with temporary tables. |
|
| 191 | + * @return string table name generated. This may be different from the table name, for example with temporary tables. |
|
| 192 | 192 | */ |
| 193 | 193 | public function createTable($tableName, $fields = null, $indexes = null, $options = null, $advancedOptions = null) |
| 194 | 194 | { |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | * |
| 280 | 280 | * @param string $tableName Table name column resides in |
| 281 | 281 | * @param string $columnName Column name the constraint is for |
| 282 | - * @return string|null |
|
| 282 | + * @return string |
|
| 283 | 283 | */ |
| 284 | 284 | public function getConstraintName($tableName, $columnName) |
| 285 | 285 | { |
@@ -336,7 +336,7 @@ discard block |
||
| 336 | 336 | * |
| 337 | 337 | * @param string $tableName Name of the table |
| 338 | 338 | * @param string $colName Name of the column |
| 339 | - * @return string|null |
|
| 339 | + * @return string |
|
| 340 | 340 | */ |
| 341 | 341 | protected function defaultConstraintName($tableName, $colName) |
| 342 | 342 | { |
@@ -687,6 +687,7 @@ discard block |
||
| 687 | 687 | * For a given table name, get all the internal index names, |
| 688 | 688 | * except for those that are primary keys and fulltext indexes. |
| 689 | 689 | * |
| 690 | + * @param string $tableName |
|
| 690 | 691 | * @return array |
| 691 | 692 | */ |
| 692 | 693 | public function indexNames($tableName) |
@@ -195,7 +195,6 @@ |
||
| 195 | 195 | * Quotes a string, including the "N" prefix so unicode |
| 196 | 196 | * strings are saved to the database correctly. |
| 197 | 197 | * |
| 198 | - * @param string $string String to be encoded |
|
| 199 | 198 | * @return string Processed string ready for DB |
| 200 | 199 | */ |
| 201 | 200 | public function quoteString($value) |