@@ -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> |
@@ -995,7 +995,7 @@ discard block |
||
| 995 | 995 | * @param string $query <p>sql-query</p> |
| 996 | 996 | * @param bool $useCache <p>use cache?</p> |
| 997 | 997 | * @param int $cacheTTL <p>cache-ttl in seconds</p> |
| 998 | - * @param self|null $db optional <p>the database connection</p> |
|
| 998 | + * @param null|\self $db optional <p>the database connection</p> |
|
| 999 | 999 | * |
| 1000 | 1000 | * @return mixed "array" by "<b>SELECT</b>"-queries<br /> |
| 1001 | 1001 | * "int" (insert_id) by "<b>INSERT</b>"-queries<br /> |
@@ -1741,7 +1741,7 @@ discard block |
||
| 1741 | 1741 | * |
| 1742 | 1742 | * @param mixed $var |
| 1743 | 1743 | * |
| 1744 | - * @return mixed |
|
| 1744 | + * @return string |
|
| 1745 | 1745 | */ |
| 1746 | 1746 | public function secure($var) |
| 1747 | 1747 | { |