Passed
Push — dev-master ( 39924a...4da17d )
by Petr
15:43
created
src/YourMembershipClient.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,8 @@
 block discarded – undo
37 37
 	 * @param  array      $arguments  Your Membership API Call Arguments
38 38
 	 * @return Response
39 39
 	 */
40
-	public function makeCall(string $method, array $arguments = []) {
40
+	public function makeCall(string $method, array $arguments = [])
41
+	{
41 42
 
42 43
 		Request::$callId++; //Update the Call ID as they need to be unique per call
43 44
 		$request = $this->request->buildRequest($method, $arguments);
Please login to merge, or discard this patch.
src/Core/Request.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,8 @@
 block discarded – undo
147 147
      * @param  \SimpleXMLElement $from
148 148
      * @return void
149 149
      */
150
-    private function sxmlAppend(\SimpleXMLElement $to, \SimpleXMLElement $from) {
150
+    private function sxmlAppend(\SimpleXMLElement $to, \SimpleXMLElement $from)
151
+    {
151 152
         $toDom = dom_import_simplexml($to);
152 153
         $fromDom = dom_import_simplexml($from);
153 154
         $toDom->appendChild($toDom->ownerDocument->importNode($fromDom, true));
Please login to merge, or discard this patch.
src/Core/YourMembershipException.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,13 +11,14 @@
 block discarded – undo
11 11
 {
12 12
 	private $apiMethod;
13 13
 
14
-	public function __construct(string $message, int $code = 0, string $apiMethod) 
14
+	public function __construct(string $message, int $code = 0, string $apiMethod)
15 15
 	{
16 16
 		$this->apiMethod = $apiMethod;
17 17
 		parent::__construct($message, $code, null);
18 18
 	}
19 19
 
20
-	public function __toString() {
20
+	public function __toString()
21
+	{
21 22
 	   return __CLASS__ . ": [{$this->apiMethod}]: {$this->message}\n";
22 23
    }
23 24
 
Please login to merge, or discard this patch.