@@ -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) |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | * @param array $elements Elements to update |
| 222 | 222 | * @param string $conditions Conditions for search |
| 223 | 223 | * |
| 224 | - * @return bool |
|
| 224 | + * @return boolean|null |
|
| 225 | 225 | */ |
| 226 | 226 | public function update($table, array $elements = [], $conditions = '') |
| 227 | 227 | { |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | * @param string $conditions Conditions to search |
| 238 | 238 | * @param array $params Params array |
| 239 | 239 | * |
| 240 | - * @return bool |
|
| 240 | + * @return boolean|null |
|
| 241 | 241 | */ |
| 242 | 242 | public function delete($table, $conditions, array $params = []) |
| 243 | 243 | { |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | * @param string $table Table name |
| 268 | 268 | * @param array $params Params array |
| 269 | 269 | * |
| 270 | - * @return bool |
|
| 270 | + * @return boolean|null |
|
| 271 | 271 | */ |
| 272 | 272 | public function exists($table, array $params = []) |
| 273 | 273 | { |