File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function __construct(
4040 public static function fromDsn ($ dsn )
4141 {
4242 if (!filter_var ($ dsn , FILTER_VALIDATE_URL )) {
43- throw new RuntimeException ('DSN is an invalid URL: ' .$ dsn );
43+ throw new \ RuntimeException ('DSN is an invalid URL: ' .$ dsn );
4444 }
4545
4646 $ part = parse_url ($ dsn );
@@ -52,7 +52,7 @@ public static function fromDsn($dsn)
5252 $ part ['path ' ] = trim ($ part ['path ' ], '/ ' );
5353 $ pathPart = explode ('/ ' , $ part ['path ' ]);
5454 if ((count ($ pathPart ) < 2 ) || (count ($ pathPart ) > 3 )) {
55- throw new RuntimeException ('Expecting url path with exactly 2 or 3 parts: ' .$ part ['path ' ]);
55+ throw new \ RuntimeException ('Expecting url path with exactly 2 or 3 parts: ' .$ part ['path ' ]);
5656 }
5757
5858 $ account = $ pathPart [0 ];
You can’t perform that action at this time.
0 commit comments