Completed
Pull Request — master (#39)
by Milan
03:16
created
src/Response/Pay/IResponse.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 	function errorMessages(): array;
21 21
 
22 22
 
23
+	/**
24
+	 * @return string
25
+	 */
23 26
 	function __toString();
24 27
 
25 28
 }
Please login to merge, or discard this patch.
src/Response/Pay/XMLResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 
75 75
 	private function getValue(string $path): string
76 76
 	{
77
-		$val = $this->getXml()->xpath($path . '/text()');
77
+		$val = $this->getXml()->xpath($path.'/text()');
78 78
 		if ($val === false || !isset($val[0])) {
79 79
 			return '';
80 80
 		}
Please login to merge, or discard this patch.
src/Response/Read/TransactionAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 		if (array_key_exists($name, $this->properties)) {
32 32
 			return $this->properties[$name];
33 33
 		}
34
-		throw new Exceptions\Runtime('Property does not exists. ' . $name);
34
+		throw new Exceptions\Runtime('Property does not exists. '.$name);
35 35
 	}
36 36
 
37 37
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 */
47 47
 	public function bindProperty(string $name, string $type, $value): void
48 48
 	{
49
-		$method = 'set' . ucfirst($name);
49
+		$method = 'set'.ucfirst($name);
50 50
 		if (method_exists($this, $method)) {
51 51
 			$value = $this->{$method}($value);
52 52
 		} elseif ($value !== null) {
Please login to merge, or discard this patch.