Passed
Branch master (09cd23)
by Mariano
03:22
created
src/Http/CurlClient.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * @param int $seconds
67 67
      *
68
-     * @return \Pachico\MinFraudChargeback\Http\CurlClient
68
+     * @return CurlClient
69 69
      */
70 70
     public function setConnectTimeout($seconds)
71 71
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     /**
78 78
      * @param string $seconds
79 79
      *
80
-     * @return \Pachico\MinFraudChargeback\Http\CurlClient
80
+     * @return CurlClient
81 81
      */
82 82
     public function setTimeout($seconds)
83 83
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * @param string $hostname
91 91
      *
92
-     * @return \Pachico\MinFraudChargeback\Http\CurlClient
92
+     * @return CurlClient
93 93
      */
94 94
     public function setHostname($hostname)
95 95
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     {
58 58
         $this->credential = $credential;
59 59
 
60
-        $this->curl = $curl ? : new Curl();
60
+        $this->curl = $curl ?: new Curl();
61 61
 
62 62
         $this->hostname = static::HOSTNAME_DEFAULT;
63 63
     }
Please login to merge, or discard this patch.
src/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function __construct(Credential $credential, ClientInterface $httpClient = null)
36 36
     {
37 37
         $this->credential = $credential;
38
-        $this->httpClient = $httpClient ? : new CurlClient($credential);
38
+        $this->httpClient = $httpClient ?: new CurlClient($credential);
39 39
     }
40 40
 
41 41
     /**
Please login to merge, or discard this patch.