@@ -257,7 +257,7 @@ |
||
| 257 | 257 | * @param \Closure $event ['Object', 'method'] or callable |
| 258 | 258 | * @param int|null $prior priority |
| 259 | 259 | * |
| 260 | - * @return boolean|null |
|
| 260 | + * @return boolean |
|
| 261 | 261 | * @throws Exception |
| 262 | 262 | */ |
| 263 | 263 | protected function addListener($listener, $event, $prior = null) |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @return bool|int |
|
| 56 | + * @return integer |
|
| 57 | 57 | * @throws Exception |
| 58 | 58 | */ |
| 59 | 59 | public function getID() |
@@ -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 @@ |
||
| 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) |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | class ResolverInjector extends Injector |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @return bool |
|
| 23 | + * @return IResolver |
|
| 24 | 24 | * @throws Exception |
| 25 | 25 | */ |
| 26 | 26 | public function build() |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | class ResolverInjector extends Injector |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @return bool |
|
| 23 | + * @return IResolver |
|
| 24 | 24 | * @throws Exception |
| 25 | 25 | */ |
| 26 | 26 | public function build() |