File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 22
33namespace Embed \Providers ;
44
5- use Embed \Url ;
65use Embed \Bag ;
76use Embed \Utils ;
87
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Guzzle5 implements RequestResolverInterface
1717 protected $ request ;
1818
1919 /**
20- * @var \GuzzleHttp\Response
20+ * @var \GuzzleHttp\Response|false
2121 */
2222 protected $ response ;
2323
@@ -76,7 +76,7 @@ public function getMimeType()
7676 */
7777 public function getError ()
7878 {
79- return $ error ;
79+ return $ this -> error ;
8080 }
8181
8282 /**
@@ -116,7 +116,7 @@ protected function getResponse()
116116 try {
117117 $ this ->response = $ this ->client ->send ($ this ->request );
118118 } catch (\Exception $ exception ) {
119- $ error = $ exception ->getMessage ();
119+ $ this -> error = $ exception ->getMessage ();
120120 $ this ->response = false ;
121121 }
122122 }
You can’t perform that action at this time.
0 commit comments