File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 15
15
"php" : " ^8.1" ,
16
16
"illuminate/cache" : " ^10.0 || ^11.0" ,
17
17
"illuminate/console" : " ^10.0 || ^11.0" ,
18
- "illuminate/support" : " ^10.0 || ^11.0"
18
+ "illuminate/support" : " ^10.0 || ^11.0" ,
19
+ "monolog/monolog" : " ^3.0"
19
20
},
20
21
"require-dev" : {
21
22
"friendsofphp/php-cs-fixer" : " ^3.50" ,
Original file line number Diff line number Diff line change 4
4
5
5
namespace InteractionDesignFoundation \GeoIP ;
6
6
7
- use Exception ;
8
7
use Monolog \Logger ;
9
8
use Illuminate \Support \Arr ;
10
9
use Illuminate \Cache \CacheManager ;
@@ -195,7 +194,7 @@ public function getCurrency($iso)
195
194
* Get service instance.
196
195
*
197
196
* @return \InteractionDesignFoundation\GeoIP\Contracts\ServiceInterface
198
- * @throws Exception
197
+ * @throws \ Exception
199
198
*/
200
199
public function getService ()
201
200
{
@@ -208,7 +207,7 @@ public function getService()
208
207
209
208
// Sanity check
210
209
if ($ class === null ) {
211
- throw new Exception ('The GeoIP service is not valid. ' );
210
+ throw new \ Exception ('The GeoIP service is not valid. ' );
212
211
}
213
212
214
213
// Create service instance
You can’t perform that action at this time.
0 commit comments