Completed
Push — master ( 795f42...82604c )
by Lars
04:57 queued 02:22
created
src/idiorm/orm/ORM.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1105,7 +1105,7 @@  discard block
 block discarded – undo
1105 1105
    * the alias to return the column as.
1106 1106
    *
1107 1107
    * @param string $column
1108
-   * @param mixed  $alias
1108
+   * @param null|string  $alias
1109 1109
    *
1110 1110
    * @return $this
1111 1111
    */
@@ -1122,7 +1122,7 @@  discard block
 block discarded – undo
1122 1122
    * the alias to return the column as.
1123 1123
    *
1124 1124
    * @param string $expr
1125
-   * @param mixed  $alias
1125
+   * @param string|null  $alias
1126 1126
    *
1127 1127
    * @return $this
1128 1128
    */
@@ -1440,7 +1440,7 @@  discard block
 block discarded – undo
1440 1440
    * Internal method to add a HAVING condition to the query
1441 1441
    */
1442 1442
   /**
1443
-   * @param string|array $column_name
1443
+   * @param string $column_name
1444 1444
    * @param string       $separator
1445 1445
    * @param mixed        $value
1446 1446
    *
@@ -1455,7 +1455,7 @@  discard block
 block discarded – undo
1455 1455
    * Internal method to add a HAVING clause with multiple values (like IN and NOT IN)
1456 1456
    */
1457 1457
   /**
1458
-   * @param string|array $column_name
1458
+   * @param string $column_name
1459 1459
    * @param string       $separator
1460 1460
    * @param mixed        $values
1461 1461
    *
@@ -1482,7 +1482,7 @@  discard block
 block discarded – undo
1482 1482
   /**
1483 1483
    * Internal method to add a HAVING clause with no parameters(like IS NULL and IS NOT NULL)
1484 1484
    *
1485
-   * @param string|array $column_name
1485
+   * @param string $column_name
1486 1486
    * @param string       $operator
1487 1487
    *
1488 1488
    * @return $this
@@ -1520,7 +1520,7 @@  discard block
 block discarded – undo
1520 1520
   /**
1521 1521
    * Internal method to add a WHERE condition to the query
1522 1522
    *
1523
-   * @param string|array $column_name
1523
+   * @param string $column_name
1524 1524
    * @param string       $separator
1525 1525
    * @param mixed        $value
1526 1526
    *
@@ -1534,7 +1534,7 @@  discard block
 block discarded – undo
1534 1534
   /**
1535 1535
    * Add a WHERE clause with multiple values (like IN and NOT IN)
1536 1536
    *
1537
-   * @param string|array $column_name
1537
+   * @param string $column_name
1538 1538
    * @param string       $separator
1539 1539
    * @param mixed        $values
1540 1540
    *
@@ -1561,7 +1561,7 @@  discard block
 block discarded – undo
1561 1561
   /**
1562 1562
    * Add a WHERE clause with no parameters(like IS NULL and IS NOT NULL)
1563 1563
    *
1564
-   * @param string|array $column_name
1564
+   * @param string $column_name
1565 1565
    * @param string       $operator
1566 1566
    *
1567 1567
    * @return $this
@@ -1660,7 +1660,7 @@  discard block
 block discarded – undo
1660 1660
    * If column_name is an associative array, it will add a condition for each column
1661 1661
    *
1662 1662
    * @param string       $type
1663
-   * @param string|array $column_name
1663
+   * @param string $column_name
1664 1664
    * @param string       $separator
1665 1665
    * @param string|int   $value
1666 1666
    *
@@ -1725,7 +1725,7 @@  discard block
 block discarded – undo
1725 1725
    *
1726 1726
    * @param mixed $value
1727 1727
    *
1728
-   * @return array
1728
+   * @return string
1729 1729
    */
1730 1730
   protected function _get_compound_id_column_values($value)
1731 1731
   {
@@ -2659,7 +2659,7 @@  discard block
 block discarded – undo
2659 2659
    * only adds the pieces if they are not empty.
2660 2660
    *
2661 2661
    * @param string $glue
2662
-   * @param array  $pieces
2662
+   * @param string[]  $pieces
2663 2663
    *
2664 2664
    * @return string
2665 2665
    */
@@ -2745,7 +2745,7 @@  discard block
 block discarded – undo
2745 2745
    * @param null|string $table_name
2746 2746
    * @param string      $connection_name
2747 2747
    *
2748
-   * @return mixed|string
2748
+   * @return string
2749 2749
    */
2750 2750
   protected static function _create_cache_key($query, $parameters, $table_name = null, $connection_name = self::DEFAULT_CONNECTION)
2751 2751
   {
Please login to merge, or discard this patch.