Skip to content

Commit 807418a

Browse files
committed
fixed incompatibility method in driver method of Factory
1 parent 5366223 commit 807418a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/Contracts/Factory.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22

33
namespace Asanpay\Shaparak\Contracts;
44

5+
use InvalidArgumentException;
6+
57
interface Factory
68
{
79
/**
8-
* Get an Shetab provider implementation.
10+
* Get a Shetab provider instance.
11+
*
12+
* @param string|null $driver
13+
* @return mixed
914
*
10-
* @param string $driver
11-
* @return Provider
15+
* @throws \InvalidArgumentException
1216
*/
1317
public function driver($driver = null);
1418
}

0 commit comments

Comments
 (0)