@@ -44,7 +44,7 @@ |
||
44 | 44 | public function getContent(): string |
45 | 45 | { |
46 | 46 | if (null === $this->content) { |
47 | - set_error_handler(function ($type, $msg) use (&$error) { $error = $msg; }); |
|
47 | + set_error_handler(function($type, $msg) use (&$error) { $error = $msg; }); |
|
48 | 48 | $content = file_get_contents($this->path); |
49 | 49 | restore_error_handler(); |
50 | 50 |
@@ -78,12 +78,12 @@ |
||
78 | 78 | try { |
79 | 79 | $response = $this->sendRequest($request); |
80 | 80 | $contents = $this->extractJson($request, $response); |
81 | - } catch (AuthenticationException $e) { |
|
81 | + }catch (AuthenticationException $e) { |
|
82 | 82 | $this->authClient->auth(true); |
83 | 83 | try { |
84 | 84 | $response = $this->sendRequest($request); |
85 | 85 | $contents = $this->extractJson($request, $response); |
86 | - } catch (AuthenticationException $e) { |
|
86 | + }catch (AuthenticationException $e) { |
|
87 | 87 | throw $e; |
88 | 88 | } |
89 | 89 | } |