@@ -147,7 +147,7 @@ public function getPrimarySequence()
147
147
148
148
/**
149
149
* @param string
150
- * @return self
150
+ * @return static
151
151
*/
152
152
public function setPrimarySequence ($ sequence )
153
153
{
@@ -274,7 +274,7 @@ public function fetchAssoc($path)
274
274
/**
275
275
* Adds select clause, more calls appends to the end.
276
276
* @param string for example "column, MD5(column) AS column_md5"
277
- * @return self
277
+ * @return static
278
278
*/
279
279
public function select ($ columns , ...$ params )
280
280
{
@@ -287,7 +287,7 @@ public function select($columns, ...$params)
287
287
/**
288
288
* Adds condition for primary key.
289
289
* @param mixed
290
- * @return self
290
+ * @return static
291
291
*/
292
292
public function wherePrimary ($ key )
293
293
{
@@ -313,7 +313,7 @@ public function wherePrimary($key)
313
313
* Adds where condition, more calls appends with AND.
314
314
* @param string condition possibly containing ?
315
315
* @param mixed
316
- * @return self
316
+ * @return static
317
317
*/
318
318
public function where ($ condition , ...$ params )
319
319
{
@@ -327,7 +327,7 @@ public function where($condition, ...$params)
327
327
* @param string table chain or table alias for which you need additional left join condition
328
328
* @param string condition possibly containing ?
329
329
* @param mixed
330
- * @return self
330
+ * @return static
331
331
*/
332
332
public function joinWhere ($ tableChain , $ condition , ...$ params )
333
333
{
@@ -364,7 +364,7 @@ protected function condition($condition, array $params, $tableChain = NULL)
364
364
* Adds where condition using the OR operator between parameters.
365
365
* More calls appends with AND.
366
366
* @param array ['column1' => 1, 'column2 > ?' => 2, 'full condition']
367
- * @return self
367
+ * @return static
368
368
* @throws \Nette\InvalidArgumentException
369
369
*/
370
370
public function whereOr (array $ parameters )
@@ -397,7 +397,7 @@ public function whereOr(array $parameters)
397
397
/**
398
398
* Adds order clause, more calls appends to the end.
399
399
* @param string for example 'column1, column2 DESC'
400
- * @return self
400
+ * @return static
401
401
*/
402
402
public function order ($ columns , ...$ params )
403
403
{
@@ -411,7 +411,7 @@ public function order($columns, ...$params)
411
411
* Sets limit clause, more calls rewrite old values.
412
412
* @param int
413
413
* @param int
414
- * @return self
414
+ * @return static
415
415
*/
416
416
public function limit ($ limit , $ offset = NULL )
417
417
{
@@ -425,7 +425,7 @@ public function limit($limit, $offset = NULL)
425
425
* Sets offset using page number, more calls rewrite old values.
426
426
* @param int
427
427
* @param int
428
- * @return self
428
+ * @return static
429
429
*/
430
430
public function page ($ page , $ itemsPerPage , & $ numOfPages = NULL )
431
431
{
@@ -442,7 +442,7 @@ public function page($page, $itemsPerPage, & $numOfPages = NULL)
442
442
/**
443
443
* Sets group clause, more calls rewrite old value.
444
444
* @param string
445
- * @return self
445
+ * @return static
446
446
*/
447
447
public function group ($ columns , ...$ params )
448
448
{
@@ -455,7 +455,7 @@ public function group($columns, ...$params)
455
455
/**
456
456
* Sets having clause, more calls rewrite old value.
457
457
* @param string
458
- * @return self
458
+ * @return static
459
459
*/
460
460
public function having ($ having , ...$ params )
461
461
{
@@ -469,7 +469,7 @@ public function having($having, ...$params)
469
469
* Aliases table. Example ':book:book_tag.tag', 'tg'
470
470
* @param string
471
471
* @param string
472
- * @return self
472
+ * @return static
473
473
*/
474
474
public function alias ($ tableChain , $ alias )
475
475
{
@@ -656,7 +656,7 @@ protected function saveCacheState()
656
656
657
657
/**
658
658
* Returns Selection parent for caching.
659
- * @return self
659
+ * @return static
660
660
*/
661
661
protected function getRefTable (& $ refPath )
662
662
{
0 commit comments