Completed
Push — master ( ed74d2...ac9008 )
by Lars
03:54 queued 17s
created
src/idiorm/orm/ORM.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1099,7 +1099,7 @@  discard block
 block discarded – undo
1099 1099
    * the alias to return the column as.
1100 1100
    *
1101 1101
    * @param string $column
1102
-   * @param mixed  $alias
1102
+   * @param null|string  $alias
1103 1103
    *
1104 1104
    * @return ORM
1105 1105
    */
@@ -1116,7 +1116,7 @@  discard block
 block discarded – undo
1116 1116
    * the alias to return the column as.
1117 1117
    *
1118 1118
    * @param string $expr
1119
-   * @param mixed  $alias
1119
+   * @param string|null  $alias
1120 1120
    *
1121 1121
    * @return ORM
1122 1122
    */
@@ -1405,7 +1405,7 @@  discard block
 block discarded – undo
1405 1405
    * Internal method to add a HAVING condition to the query
1406 1406
    */
1407 1407
   /**
1408
-   * @param string|array $column_name
1408
+   * @param string $column_name
1409 1409
    * @param string       $separator
1410 1410
    * @param mixed        $value
1411 1411
    *
@@ -1420,7 +1420,7 @@  discard block
 block discarded – undo
1420 1420
    * Internal method to add a HAVING clause with multiple values (like IN and NOT IN)
1421 1421
    */
1422 1422
   /**
1423
-   * @param string|array $column_name
1423
+   * @param string $column_name
1424 1424
    * @param string       $separator
1425 1425
    * @param mixed        $values
1426 1426
    *
@@ -1447,7 +1447,7 @@  discard block
 block discarded – undo
1447 1447
   /**
1448 1448
    * Internal method to add a HAVING clause with no parameters(like IS NULL and IS NOT NULL)
1449 1449
    *
1450
-   * @param string|array $column_name
1450
+   * @param string $column_name
1451 1451
    * @param string       $operator
1452 1452
    *
1453 1453
    * @return ORM
@@ -1485,7 +1485,7 @@  discard block
 block discarded – undo
1485 1485
   /**
1486 1486
    * Internal method to add a WHERE condition to the query
1487 1487
    *
1488
-   * @param string|array $column_name
1488
+   * @param string $column_name
1489 1489
    * @param string       $separator
1490 1490
    * @param mixed        $value
1491 1491
    *
@@ -1499,7 +1499,7 @@  discard block
 block discarded – undo
1499 1499
   /**
1500 1500
    * Add a WHERE clause with multiple values (like IN and NOT IN)
1501 1501
    *
1502
-   * @param string|array $column_name
1502
+   * @param string $column_name
1503 1503
    * @param string       $separator
1504 1504
    * @param mixed        $values
1505 1505
    *
@@ -1654,7 +1654,7 @@  discard block
 block discarded – undo
1654 1654
    *
1655 1655
    * @param mixed $value
1656 1656
    *
1657
-   * @return array
1657
+   * @return string
1658 1658
    */
1659 1659
   protected function _get_compound_id_column_values($value)
1660 1660
   {
@@ -1954,7 +1954,7 @@  discard block
 block discarded – undo
1954 1954
    * contain question mark placeholders, which will be bound
1955 1955
    * to the parameters supplied in the second argument.
1956 1956
    *
1957
-   * @param       $clause
1957
+   * @param       string $clause
1958 1958
    * @param array $parameters
1959 1959
    *
1960 1960
    * @return $this|ORM
@@ -2503,7 +2503,7 @@  discard block
 block discarded – undo
2503 2503
    * only adds the pieces if they are not empty.
2504 2504
    *
2505 2505
    * @param string $glue
2506
-   * @param array  $pieces
2506
+   * @param string[]  $pieces
2507 2507
    *
2508 2508
    * @return string
2509 2509
    */
@@ -2592,7 +2592,7 @@  discard block
 block discarded – undo
2592 2592
    * @param null|string $table_name
2593 2593
    * @param string      $connection_name
2594 2594
    *
2595
-   * @return mixed|string
2595
+   * @return string
2596 2596
    */
2597 2597
   protected static function _create_cache_key($query, $parameters, $table_name = null, $connection_name = self::DEFAULT_CONNECTION)
2598 2598
   {
Please login to merge, or discard this patch.