@@ -129,7 +129,7 @@ |
||
| 129 | 129 | /** |
| 130 | 130 | * Sets the sort pattern for the query. |
| 131 | 131 | * |
| 132 | - * @param array|string $sort |
|
| 132 | + * @param string $sort |
|
| 133 | 133 | * |
| 134 | 134 | * @return $this |
| 135 | 135 | */ |
@@ -272,7 +272,6 @@ discard block |
||
| 272 | 272 | /** |
| 273 | 273 | * Returns a prefixed where statement. |
| 274 | 274 | * |
| 275 | - * @param string $columns |
|
| 276 | 275 | * @param string $tablename |
| 277 | 276 | * |
| 278 | 277 | * @return array |
@@ -300,7 +299,6 @@ discard block |
||
| 300 | 299 | /** |
| 301 | 300 | * Returns a prefixed sort statement. |
| 302 | 301 | * |
| 303 | - * @param string $columns |
|
| 304 | 302 | * @param string $tablename |
| 305 | 303 | * |
| 306 | 304 | * @return array |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Pulsar\Driver; |
| 13 | 13 | |
| 14 | 14 | use JAQB\ConnectionManager; |
| 15 | -use JAQB\Exception\JAQBException; |
|
| 16 | 15 | use JAQB\QueryBuilder; |
| 17 | 16 | use PDOException; |
| 18 | 17 | use PDOStatement; |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * |
| 119 | 119 | * @param mixed $value |
| 120 | 120 | * |
| 121 | - * @return object |
|
| 121 | + * @return \stdClass |
|
| 122 | 122 | */ |
| 123 | 123 | public static function to_object($value): \stdClass |
| 124 | 124 | { |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | private $tablename; |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param string $tablename |
|
| 30 | + */ |
|
| 28 | 31 | public function setTablename($tablename) |
| 29 | 32 | { |
| 30 | 33 | $this->tablename = $tablename; |
@@ -177,7 +177,6 @@ |
||
| 177 | 177 | /** |
| 178 | 178 | * Creates a new model object. |
| 179 | 179 | * |
| 180 | - * @param array|string|Model|false $id ordered array of ids or comma-separated id string |
|
| 181 | 180 | * @param array $values optional key-value map to pre-seed model |
| 182 | 181 | */ |
| 183 | 182 | public function __construct(array $values = []) |