@@ -147,7 +147,7 @@ public function getPrimarySequence()
147147
148148 /**
149149 * @param string
150- * @return self
150+ * @return static
151151 */
152152 public function setPrimarySequence ($ sequence )
153153 {
@@ -274,7 +274,7 @@ public function fetchAssoc($path)
274274 /**
275275 * Adds select clause, more calls appends to the end.
276276 * @param string for example "column, MD5(column) AS column_md5"
277- * @return self
277+ * @return static
278278 */
279279 public function select ($ columns , ...$ params )
280280 {
@@ -287,7 +287,7 @@ public function select($columns, ...$params)
287287 /**
288288 * Adds condition for primary key.
289289 * @param mixed
290- * @return self
290+ * @return static
291291 */
292292 public function wherePrimary ($ key )
293293 {
@@ -313,7 +313,7 @@ public function wherePrimary($key)
313313 * Adds where condition, more calls appends with AND.
314314 * @param string condition possibly containing ?
315315 * @param mixed
316- * @return self
316+ * @return static
317317 */
318318 public function where ($ condition , ...$ params )
319319 {
@@ -327,7 +327,7 @@ public function where($condition, ...$params)
327327 * @param string table chain or table alias for which you need additional left join condition
328328 * @param string condition possibly containing ?
329329 * @param mixed
330- * @return self
330+ * @return static
331331 */
332332 public function joinWhere ($ tableChain , $ condition , ...$ params )
333333 {
@@ -364,7 +364,7 @@ protected function condition($condition, array $params, $tableChain = NULL)
364364 * Adds where condition using the OR operator between parameters.
365365 * More calls appends with AND.
366366 * @param array ['column1' => 1, 'column2 > ?' => 2, 'full condition']
367- * @return self
367+ * @return static
368368 * @throws \Nette\InvalidArgumentException
369369 */
370370 public function whereOr (array $ parameters )
@@ -397,7 +397,7 @@ public function whereOr(array $parameters)
397397 /**
398398 * Adds order clause, more calls appends to the end.
399399 * @param string for example 'column1, column2 DESC'
400- * @return self
400+ * @return static
401401 */
402402 public function order ($ columns , ...$ params )
403403 {
@@ -411,7 +411,7 @@ public function order($columns, ...$params)
411411 * Sets limit clause, more calls rewrite old values.
412412 * @param int
413413 * @param int
414- * @return self
414+ * @return static
415415 */
416416 public function limit ($ limit , $ offset = NULL )
417417 {
@@ -425,7 +425,7 @@ public function limit($limit, $offset = NULL)
425425 * Sets offset using page number, more calls rewrite old values.
426426 * @param int
427427 * @param int
428- * @return self
428+ * @return static
429429 */
430430 public function page ($ page , $ itemsPerPage , & $ numOfPages = NULL )
431431 {
@@ -442,7 +442,7 @@ public function page($page, $itemsPerPage, & $numOfPages = NULL)
442442 /**
443443 * Sets group clause, more calls rewrite old value.
444444 * @param string
445- * @return self
445+ * @return static
446446 */
447447 public function group ($ columns , ...$ params )
448448 {
@@ -455,7 +455,7 @@ public function group($columns, ...$params)
455455 /**
456456 * Sets having clause, more calls rewrite old value.
457457 * @param string
458- * @return self
458+ * @return static
459459 */
460460 public function having ($ having , ...$ params )
461461 {
@@ -469,7 +469,7 @@ public function having($having, ...$params)
469469 * Aliases table. Example ':book:book_tag.tag', 'tg'
470470 * @param string
471471 * @param string
472- * @return self
472+ * @return static
473473 */
474474 public function alias ($ tableChain , $ alias )
475475 {
@@ -656,7 +656,7 @@ protected function saveCacheState()
656656
657657 /**
658658 * Returns Selection parent for caching.
659- * @return self
659+ * @return static
660660 */
661661 protected function getRefTable (& $ refPath )
662662 {
0 commit comments