@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | /** |
| 437 | 437 | * Fetch all results as "\Generator" via yield. |
| 438 | 438 | * |
| 439 | - * @param object|string $class <p> |
|
| 439 | + * @param boolean $class <p> |
|
| 440 | 440 | * <strong>string</strong>: create a new object (with optional constructor |
| 441 | 441 | * parameter)<br> |
| 442 | 442 | * <strong>object</strong>: use a object and fill the the data into |
@@ -864,7 +864,7 @@ discard block |
||
| 864 | 864 | /** |
| 865 | 865 | * Fetch as "\Generator" via yield. |
| 866 | 866 | * |
| 867 | - * @param object|string $class <p> |
|
| 867 | + * @param boolean $class <p> |
|
| 868 | 868 | * <strong>string</strong>: create a new object (with optional constructor |
| 869 | 869 | * parameter)<br> |
| 870 | 870 | * <strong>object</strong>: use a object and fill the the data into |
@@ -659,7 +659,7 @@ |
||
| 659 | 659 | * @param array $param <p> |
| 660 | 660 | * The param will be bind to the $sql query. |
| 661 | 661 | * </p> |
| 662 | - * @param null|self $obj <p> |
|
| 662 | + * @param null|\self $obj <p> |
|
| 663 | 663 | * The object, if find record in database, we will assign the attributes into |
| 664 | 664 | * this object. |
| 665 | 665 | * </p> |
@@ -983,7 +983,7 @@ |
||
| 983 | 983 | * @param string $query <p>sql-query</p> |
| 984 | 984 | * @param bool $useCache optional <p>use cache?</p> |
| 985 | 985 | * @param int $cacheTTL optional <p>cache-ttl in seconds</p> |
| 986 | - * @param DB|null $db optional <p>the database connection</p> |
|
| 986 | + * @param null|\self $db optional <p>the database connection</p> |
|
| 987 | 987 | * |
| 988 | 988 | * @return mixed "array" by "<b>SELECT</b>"-queries<br /> |
| 989 | 989 | * "int" (insert_id) by "<b>INSERT</b>"-queries<br /> |