Skip to content

Commit 446beeb

Browse files
committed
Missing exception docs added
1 parent 7e9f814 commit 446beeb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/IMAP/ClientManager.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public function __construct($app) {
4848
* @param string $name
4949
*
5050
* @return Client
51+
* @throws Exceptions\MaskNotFoundException
5152
*/
5253
public function account($name = null) {
5354
$name = $name ?: $this->getDefaultAccount();
@@ -64,10 +65,10 @@ public function account($name = null) {
6465

6566
/**
6667
* Resolve a account.
67-
*
6868
* @param string $name
6969
*
7070
* @return Client
71+
* @throws Exceptions\MaskNotFoundException
7172
*/
7273
protected function resolve($name) {
7374
$config = $this->getConfig($name);
@@ -117,6 +118,7 @@ public function setDefaultAccount($name) {
117118
* @param array $parameters
118119
*
119120
* @return mixed
121+
* @throws Exceptions\MaskNotFoundException
120122
*/
121123
public function __call($method, $parameters) {
122124
$callable = [$this->account(), $method];

0 commit comments

Comments
 (0)