@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * Set table names SELECT query should be performed for. Table names can be provided with |
| 59 | 59 | * specified alias (AS construction). |
| 60 | 60 | * |
| 61 | - * @param array|string|mixed $tables Array of names, comma separated string or set of |
|
| 61 | + * @param string $tables Array of names, comma separated string or set of |
|
| 62 | 62 | * parameters. |
| 63 | 63 | * @return $this |
| 64 | 64 | */ |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | /** |
| 88 | 88 | * Alias for columns() method. |
| 89 | 89 | * |
| 90 | - * @param array|string|mixed $columns Array of names, comma separated string or set of |
|
| 90 | + * @param string $columns Array of names, comma separated string or set of |
|
| 91 | 91 | * parameters. |
| 92 | 92 | * @return $this |
| 93 | 93 | */ |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | * $table->unique(['key', 'key2']); |
| 365 | 365 | * |
| 366 | 366 | * @param mixed $columns Column name, or array of columns. |
| 367 | - * @return AbstractColumn|null |
|
| 367 | + * @return AbstractIndex |
|
| 368 | 368 | */ |
| 369 | 369 | public function unique($columns) |
| 370 | 370 | { |
@@ -378,7 +378,7 @@ discard block |
||
| 378 | 378 | * name. |
| 379 | 379 | * |
| 380 | 380 | * @param string $column Column name. |
| 381 | - * @return AbstractReference|null |
|
| 381 | + * @return AbstractReference |
|
| 382 | 382 | */ |
| 383 | 383 | public function foreign($column) |
| 384 | 384 | { |
@@ -943,7 +943,7 @@ discard block |
||
| 943 | 943 | } |
| 944 | 944 | |
| 945 | 945 | /** |
| 946 | - * @return AbstractColumn|string |
|
| 946 | + * @return string |
|
| 947 | 947 | */ |
| 948 | 948 | public function __toString() |
| 949 | 949 | { |
@@ -62,7 +62,6 @@ |
||
| 62 | 62 | * |
| 63 | 63 | * @param RouteInterface|array $default Default route or options to construct instance of |
| 64 | 64 | * DirectRoute. |
| 65 | - * @param bool $keepOutput |
|
| 66 | 65 | * @throws RouterException |
| 67 | 66 | */ |
| 68 | 67 | public function __construct( |
@@ -881,7 +881,7 @@ |
||
| 881 | 881 | * Parse single result row to generate data tree. Must pass parsing to evert nested loader. |
| 882 | 882 | * |
| 883 | 883 | * @param array $row |
| 884 | - * @return bool |
|
| 884 | + * @return boolean|null |
|
| 885 | 885 | */ |
| 886 | 886 | private function parseRow(array $row) |
| 887 | 887 | { |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * value using class name and Doctrine inflector. |
| 131 | 131 | * |
| 132 | 132 | * @see Record::$table |
| 133 | - * @return mixed |
|
| 133 | + * @return string |
|
| 134 | 134 | */ |
| 135 | 135 | public function getTable() |
| 136 | 136 | { |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | * Get database where record data should be stored in. Database alias must be resolved. |
| 150 | 150 | * |
| 151 | 151 | * @see Record::$database |
| 152 | - * @return mixed |
|
| 152 | + * @return string |
|
| 153 | 153 | */ |
| 154 | 154 | public function getDatabase() |
| 155 | 155 | { |
@@ -463,7 +463,7 @@ discard block |
||
| 463 | 463 | * @param AbstractColumn $column |
| 464 | 464 | * @param string $definition |
| 465 | 465 | * @param mixed $default Default value declared by record schema. |
| 466 | - * @return mixed |
|
| 466 | + * @return AbstractColumn |
|
| 467 | 467 | * @throws DefinitionException |
| 468 | 468 | * @throws \Spiral\Database\Exceptions\SchemaException |
| 469 | 469 | */ |
@@ -457,7 +457,7 @@ discard block |
||
| 457 | 457 | * |
| 458 | 458 | * @see findOne() |
| 459 | 459 | * @param mixed $id Primary key value. |
| 460 | - * @return RecordEntity|null |
|
| 460 | + * @return null|RecordInterface |
|
| 461 | 461 | * @throws SelectorException |
| 462 | 462 | */ |
| 463 | 463 | public function findByPK($id) |
@@ -482,7 +482,7 @@ discard block |
||
| 482 | 482 | * @see findByPK() |
| 483 | 483 | * @param array $where Selection WHERE statement. |
| 484 | 484 | * @param bool $setLimit Use limit 1. |
| 485 | - * @return RecordEntity|null |
|
| 485 | + * @return null|RecordInterface |
|
| 486 | 486 | */ |
| 487 | 487 | public function findOne(array $where = [], $setLimit = true) |
| 488 | 488 | { |
@@ -155,6 +155,7 @@ |
||
| 155 | 155 | |
| 156 | 156 | /** |
| 157 | 157 | * {@inheritdoc} |
| 158 | + * @param integer $count |
|
| 158 | 159 | */ |
| 159 | 160 | public function setCount($count) |
| 160 | 161 | { |
@@ -228,7 +228,7 @@ |
||
| 228 | 228 | * Must parse token and element name to register (or not) instance of ImportInterface. |
| 229 | 229 | * |
| 230 | 230 | * @see addImport() |
| 231 | - * @param array $name |
|
| 231 | + * @param string $name |
|
| 232 | 232 | * @param array $token |
| 233 | 233 | * @throws TemplaterException |
| 234 | 234 | */ |