@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * |
| 60 | 60 | * @access public |
| 61 | 61 | * @param string $name |
| 62 | - * @param mixed $component |
|
| 62 | + * @param Dispatcher $component |
|
| 63 | 63 | * @return void |
| 64 | 64 | */ |
| 65 | 65 | public function addRequirement($name, $component) |
@@ -81,6 +81,7 @@ |
||
| 81 | 81 | /** |
| 82 | 82 | * @inheritdoc |
| 83 | 83 | * @throws \Micro\Base\Exception |
| 84 | + * @param string $name |
|
| 84 | 85 | */ |
| 85 | 86 | protected function getElement($name) |
| 86 | 87 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | * |
| 51 | 51 | * @param string $dbName Database name |
| 52 | 52 | * |
| 53 | - * @return boolean |
|
| 53 | + * @return boolean|null |
|
| 54 | 54 | * @throws \InvalidArgumentException |
| 55 | 55 | */ |
| 56 | 56 | public function switchDatabase($dbName) |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | * @param array $elements Elements to update |
| 212 | 212 | * @param string $conditions Conditions for search |
| 213 | 213 | * |
| 214 | - * @return bool |
|
| 214 | + * @return boolean|null |
|
| 215 | 215 | */ |
| 216 | 216 | public function update($table, array $elements = [], $conditions = '') |
| 217 | 217 | { |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | * @param string $conditions Conditions to search |
| 228 | 228 | * @param array $params Params array |
| 229 | 229 | * |
| 230 | - * @return bool |
|
| 230 | + * @return boolean|null |
|
| 231 | 231 | */ |
| 232 | 232 | public function delete($table, $conditions, array $params = []) |
| 233 | 233 | { |