Completed
Push — master ( d5e2fb...c58f57 )
by Lars
02:27
created
src/idiorm/orm/ORM.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1088,7 +1088,7 @@  discard block
 block discarded – undo
1088 1088
    * the alias to return the column as.
1089 1089
    *
1090 1090
    * @param string $column
1091
-   * @param mixed  $alias
1091
+   * @param null|string  $alias
1092 1092
    *
1093 1093
    * @return ORM
1094 1094
    */
@@ -1105,7 +1105,7 @@  discard block
 block discarded – undo
1105 1105
    * the alias to return the column as.
1106 1106
    *
1107 1107
    * @param string $expr
1108
-   * @param mixed  $alias
1108
+   * @param string|null  $alias
1109 1109
    *
1110 1110
    * @return ORM
1111 1111
    */
@@ -1394,7 +1394,7 @@  discard block
 block discarded – undo
1394 1394
    * Internal method to add a HAVING condition to the query
1395 1395
    */
1396 1396
   /**
1397
-   * @param string|array $column_name
1397
+   * @param string $column_name
1398 1398
    * @param string       $separator
1399 1399
    * @param mixed        $value
1400 1400
    *
@@ -1409,7 +1409,7 @@  discard block
 block discarded – undo
1409 1409
    * Internal method to add a HAVING clause with multiple values (like IN and NOT IN)
1410 1410
    */
1411 1411
   /**
1412
-   * @param string|array $column_name
1412
+   * @param string $column_name
1413 1413
    * @param string       $separator
1414 1414
    * @param mixed        $values
1415 1415
    *
@@ -1436,7 +1436,7 @@  discard block
 block discarded – undo
1436 1436
   /**
1437 1437
    * Internal method to add a HAVING clause with no parameters(like IS NULL and IS NOT NULL)
1438 1438
    *
1439
-   * @param string|array $column_name
1439
+   * @param string $column_name
1440 1440
    * @param string       $operator
1441 1441
    *
1442 1442
    * @return ORM
@@ -1474,7 +1474,7 @@  discard block
 block discarded – undo
1474 1474
   /**
1475 1475
    * Internal method to add a WHERE condition to the query
1476 1476
    *
1477
-   * @param string|array $column_name
1477
+   * @param string $column_name
1478 1478
    * @param string       $separator
1479 1479
    * @param mixed        $value
1480 1480
    *
@@ -1488,7 +1488,7 @@  discard block
 block discarded – undo
1488 1488
   /**
1489 1489
    * Add a WHERE clause with multiple values (like IN and NOT IN)
1490 1490
    *
1491
-   * @param string|array $column_name
1491
+   * @param string $column_name
1492 1492
    * @param string       $separator
1493 1493
    * @param mixed        $values
1494 1494
    *
@@ -1643,7 +1643,7 @@  discard block
 block discarded – undo
1643 1643
    *
1644 1644
    * @param mixed $value
1645 1645
    *
1646
-   * @return array
1646
+   * @return string
1647 1647
    */
1648 1648
   protected function _get_compound_id_column_values($value)
1649 1649
   {
@@ -2471,7 +2471,7 @@  discard block
 block discarded – undo
2471 2471
    * only adds the pieces if they are not empty.
2472 2472
    *
2473 2473
    * @param string $glue
2474
-   * @param array  $pieces
2474
+   * @param string[]  $pieces
2475 2475
    *
2476 2476
    * @return string
2477 2477
    */
@@ -2560,7 +2560,7 @@  discard block
 block discarded – undo
2560 2560
    * @param null|string $table_name
2561 2561
    * @param string      $connection_name
2562 2562
    *
2563
-   * @return mixed|string
2563
+   * @return string
2564 2564
    */
2565 2565
   protected static function _create_cache_key($query, $parameters, $table_name = null, $connection_name = self::DEFAULT_CONNECTION)
2566 2566
   {
Please login to merge, or discard this patch.