Passed
Pull Request — master (#24)
by
unknown
06:37
created
src/Traits/InternetDocumentProperty.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -17,27 +17,27 @@
 block discarded – undo
17 17
     protected $AdditionalInformation;
18 18
 
19 19
 
20
-	/**
21
-	 * @param string $Ref
22
-	 *
23
-	 * @return $this
24
-	 */
25
-	public function setRef(string $Ref)
26
-	{
27
-		$this->Ref = $Ref;
28
-
29
-		return $this;
30
-	}
31
-
32
-	public function getRef()
33
-	{
34
-		if (!$this->Ref) {
35
-			return $this;
36
-		}
37
-		$this->methodProperties['Ref'] = $this->Ref;
38
-
39
-		return $this;
40
-	}
20
+    /**
21
+     * @param string $Ref
22
+     *
23
+     * @return $this
24
+     */
25
+    public function setRef(string $Ref)
26
+    {
27
+        $this->Ref = $Ref;
28
+
29
+        return $this;
30
+    }
31
+
32
+    public function getRef()
33
+    {
34
+        if (!$this->Ref) {
35
+            return $this;
36
+        }
37
+        $this->methodProperties['Ref'] = $this->Ref;
38
+
39
+        return $this;
40
+    }
41 41
 
42 42
     /**
43 43
      * @param string $PayerType
Please login to merge, or discard this patch.
src/Models/InternetDocument.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -123,25 +123,25 @@
 block discarded – undo
123 123
         return $this->getResponse($this->model, $this->calledMethod, $this->methodProperties);
124 124
     }
125 125
 
126
-	/**
127
-	 * printDocument method of InternetDocument model.
128
-	 *
129
-	 * @param array|string $documentRefs Array of Documents IDs
130
-	 * @param string       $type         (pdf|html)
131
-	 *
132
-	 * @return mixed
133
-	 */
134
-	public function printDocument($DocumentRefs, $type = 'html')
135
-	{
136
-		$this->calledMethod = 'printDocument';
137
-
138
-		if (is_array($DocumentRefs) === false) {
139
-			$DocumentRefs = explode(', ', /** @scrutinizer ignore-type */ $DocumentRefs);
140
-		}
141
-
142
-		$this->methodProperties['DocumentRefs'] = array_values(/** @scrutinizer ignore-type */ $DocumentRefs);
143
-		$this->methodProperties['type'] = $type;
144
-
145
-		return $this->getResponse($this->model, $this->calledMethod, $this->methodProperties);
146
-	}
126
+    /**
127
+     * printDocument method of InternetDocument model.
128
+     *
129
+     * @param array|string $documentRefs Array of Documents IDs
130
+     * @param string       $type         (pdf|html)
131
+     *
132
+     * @return mixed
133
+     */
134
+    public function printDocument($DocumentRefs, $type = 'html')
135
+    {
136
+        $this->calledMethod = 'printDocument';
137
+
138
+        if (is_array($DocumentRefs) === false) {
139
+            $DocumentRefs = explode(', ', /** @scrutinizer ignore-type */ $DocumentRefs);
140
+        }
141
+
142
+        $this->methodProperties['DocumentRefs'] = array_values(/** @scrutinizer ignore-type */ $DocumentRefs);
143
+        $this->methodProperties['type'] = $type;
144
+
145
+        return $this->getResponse($this->model, $this->calledMethod, $this->methodProperties);
146
+    }
147 147
 }
Please login to merge, or discard this patch.