@@ -189,5 +189,5 @@ |
||
189 | 189 | { |
190 | 190 | self::unknownDsn(); |
191 | 191 | } |
192 | - */ |
|
192 | + */ |
|
193 | 193 | } |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | * @param string|array $columns (default: "*") Columns will be get for |
265 | 265 | * the table declared in first argument |
266 | 266 | * |
267 | - * @return \BfwSql\SqlSelect |
|
267 | + * @return Select |
|
268 | 268 | */ |
269 | 269 | public function from($table, $columns = '*') |
270 | 270 | { |
@@ -287,7 +287,7 @@ discard block |
||
287 | 287 | * @param string $shortcut The shortcut to use for |
288 | 288 | * this query in SELECT part |
289 | 289 | * |
290 | - * @return \BfwSql\SqlSelect |
|
290 | + * @return Select |
|
291 | 291 | */ |
292 | 292 | public function subQuery($subRequest, $shortcut) |
293 | 293 | { |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | * @param string|array $joinColumns Columns from the table joined to |
326 | 326 | * add in the SELECT part of the request |
327 | 327 | * |
328 | - * @return \BfwSql\SqlSelect |
|
328 | + * @return Select |
|
329 | 329 | */ |
330 | 330 | protected function createJoin( |
331 | 331 | $joinPropertyName, |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | * @param string|array $joinColumns Columns from the table joined to add |
357 | 357 | * in the SELECT part of the request |
358 | 358 | * |
359 | - * @return \BfwSql\SqlSelect |
|
359 | + * @return Select |
|
360 | 360 | */ |
361 | 361 | public function join($table, $joinOn, $joinColumns = '*') |
362 | 362 | { |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | * @param string|array $joinColumns Columns from the table joined to add |
373 | 373 | * in the SELECT part of the request |
374 | 374 | * |
375 | - * @return \BfwSql\SqlSelect |
|
375 | + * @return Select |
|
376 | 376 | */ |
377 | 377 | public function joinLeft($table, $joinOn, $joinColumns = '*') |
378 | 378 | { |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | * @param string|array $joinColumns Columns from the table joined to add |
389 | 389 | * in the SELECT part of the request |
390 | 390 | * |
391 | - * @return \BfwSql\SqlSelect |
|
391 | + * @return Select |
|
392 | 392 | */ |
393 | 393 | public function joinRight($table, $joinOn, $joinColumns = '*') |
394 | 394 | { |
@@ -400,7 +400,7 @@ discard block |
||
400 | 400 | * |
401 | 401 | * @param string $condition The new condition |
402 | 402 | * |
403 | - * @return \BfwSql\SqlSelect |
|
403 | + * @return Select |
|
404 | 404 | */ |
405 | 405 | public function order($condition) |
406 | 406 | { |
@@ -414,7 +414,7 @@ discard block |
||
414 | 414 | * @param array|integer $limit If it's a integer, the number of row to |
415 | 415 | * return. If an array, the format is [numberToStart, numberOfRowToReturn] |
416 | 416 | * |
417 | - * @return \BfwSql\SqlSelect |
|
417 | + * @return Select |
|
418 | 418 | */ |
419 | 419 | public function limit($limit) |
420 | 420 | { |
@@ -436,7 +436,7 @@ discard block |
||
436 | 436 | * |
437 | 437 | * @param string $condition The condition to use in GROUP BY |
438 | 438 | * |
439 | - * @return \BfwSql\SqlSelect |
|
439 | + * @return Select |
|
440 | 440 | */ |
441 | 441 | public function group($condition) |
442 | 442 | { |
@@ -472,7 +472,7 @@ discard block |
||
472 | 472 | /** |
473 | 473 | * Fetch all rows returned by the request |
474 | 474 | * |
475 | - * @return generator |
|
475 | + * @return \Generator |
|
476 | 476 | */ |
477 | 477 | public function fetchAll() |
478 | 478 | { |
@@ -30,6 +30,6 @@ |
||
30 | 30 | 'others' => [] |
31 | 31 | ] |
32 | 32 | ] |
33 | - */ |
|
33 | + */ |
|
34 | 34 | ] |
35 | 35 | ]; |
@@ -27,6 +27,6 @@ |
||
27 | 27 | Logger::DEBUG |
28 | 28 | ] |
29 | 29 | ] |
30 | - */ |
|
30 | + */ |
|
31 | 31 | ] |
32 | 32 | ]; |
@@ -166,7 +166,7 @@ |
||
166 | 166 | { |
167 | 167 | $this->monolog->getLogger()->debug( |
168 | 168 | 'Type: '.$this->action.' ; ' |
169 | - .'Query: '.$query. ' ; ' |
|
169 | + .'Query: '.$query.' ; ' |
|
170 | 170 | .'Errors: '.print_r($error, true) |
171 | 171 | ); |
172 | 172 | } |
@@ -159,7 +159,7 @@ |
||
159 | 159 | { |
160 | 160 | $this->monolog->getLogger()->debug( |
161 | 161 | 'Type: '.$this->action.' ; ' |
162 | - .'Query: '.$query. ' ; ' |
|
162 | + .'Query: '.$query.' ; ' |
|
163 | 163 | .'Errors: '.print_r($error, true).' ; ' |
164 | 164 | .'Explain status: '.$this->explain->status.' ; ' |
165 | 165 | .'Explain datas: '.print_r($this->explain->datas, true) |