Skip to content

Commit e35fa45

Browse files
committed
Requests: Fix style issues
1 parent a0acf3d commit e35fa45

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Requests.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,12 +473,10 @@ public static function request($url, $headers = [], $data = [], $type = self::GE
473473
$options['hooks']->dispatch('requests.before_parse', [&$response, $url, $headers, $data, $type, $options]);
474474

475475
$parsed_response = self::parse_response($response, $url, $headers, $data, $options);
476-
}
477-
catch (Exception $e) {
476+
} catch (Exception $e) {
478477
$options['hooks']->dispatch('requests.failed', [$e, $url, $headers, $data, $type, $options]);
479478
throw $e;
480-
}
481-
catch (InvalidArgument $e) {
479+
} catch (InvalidArgument $e) {
482480
$options['hooks']->dispatch('requests.failed', [$e, $url, $headers, $data, $type, $options]);
483481
throw $e;
484482
}

0 commit comments

Comments
 (0)