@@ -147,10 +147,10 @@ discard block |
||
| 147 | 147 | /** |
| 148 | 148 | * Declare information for FROM part and column will be get for main table |
| 149 | 149 | * |
| 150 | - * @param string|array $table Table name. |
|
| 150 | + * @param string $table Table name. |
|
| 151 | 151 | * It can be an array if a table shortcut is declared. |
| 152 | 152 | * In array mode, the format is ['asValue' => 'tableName'] |
| 153 | - * @param string|array $columns (default: "*") Columns will be get for |
|
| 153 | + * @param string $columns (default: "*") Columns will be get for |
|
| 154 | 154 | * the table declared in first argument |
| 155 | 155 | * |
| 156 | 156 | * @return \BfwSql\SqlSelect |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | /** |
| 300 | 300 | * Add information about the LIMIT part in request |
| 301 | 301 | * |
| 302 | - * @param array|integer $limit If it's a integer, the number of row to |
|
| 302 | + * @param integer $limit If it's a integer, the number of row to |
|
| 303 | 303 | * return. If an array, the format is [numberToStart, numberOfRowToReturn] |
| 304 | 304 | * |
| 305 | 305 | * @return \BfwSql\SqlSelect |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | /** |
| 361 | 361 | * Fetch all rows returned by the request |
| 362 | 362 | * |
| 363 | - * @return generator |
|
| 363 | + * @return \Generator |
|
| 364 | 364 | */ |
| 365 | 365 | public function fetchAll() |
| 366 | 366 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | $host = $this->connectionInfos->host; |
| 64 | 64 | $baseName = $this->connectionInfos->baseName; |
| 65 | 65 | |
| 66 | - $this->PDO = new \PDO( |
|
| 66 | + $this->PDO = new \PDO( |
|
| 67 | 67 | $this->type.':host='.$host.';dbname='.$baseName, |
| 68 | 68 | $this->connectionInfos->user, |
| 69 | 69 | $this->connectionInfos->password |