Passed
Push — master ( 8cd125...e259fd )
by Petr
39s
created
src/YourMembershipClient.php 3 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -33,12 +33,12 @@  discard block
 block discarded – undo
33 33
 	 * Makes API Call to YourMembership
34 34
 	 * @method makeCall
35 35
 	 * @author PA
36
-     * @author AB http://github.com/chefboyarsky
36
+	 * @author AB http://github.com/chefboyarsky
37 37
 	 * @date   2017-01-10
38 38
 	 * @param  string     $method    Your Membership API Method
39 39
 	 * @param  array      $arguments  Your Membership API Call Arguments
40 40
 	 * @return Response
41
-     * @throws YourMembershipResponseException If the response from the API has an error
41
+	 * @throws YourMembershipResponseException If the response from the API has an error
42 42
 	 */
43 43
 	public function makeCall(string $method, array $arguments = [])
44 44
 	{
@@ -48,10 +48,10 @@  discard block
 block discarded – undo
48 48
 
49 49
 		$response = new Response($method, $this->client->send($request));
50 50
 
51
-        if($response->hasError())
52
-        {
53
-            throw new YourMembershipResponseException($response->getError(), $response->getErrorCode(), $method);
54
-        }
51
+		if($response->hasError())
52
+		{
53
+			throw new YourMembershipResponseException($response->getError(), $response->getErrorCode(), $method);
54
+		}
55 55
 
56 56
 		return $response;
57 57
 	}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
 		$response = new Response($method, $this->client->send($request));
50 50
 
51
-        if($response->hasError())
51
+        if ($response->hasError())
52 52
         {
53 53
             throw new YourMembershipResponseException($response->getError(), $response->getErrorCode(), $method);
54 54
         }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,7 @@
 block discarded – undo
48 48
 
49 49
 		$response = new Response($method, $this->client->send($request));
50 50
 
51
-        if($response->hasError())
52
-        {
51
+        if($response->hasError()) {
53 52
             throw new YourMembershipResponseException($response->getError(), $response->getErrorCode(), $method);
54 53
         }
55 54
 
Please login to merge, or discard this patch.