Completed
Push — master ( 97e314...cba295 )
by Milan
24s
created
src/ExchangeFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 	)
52 52
 	{
53 53
 		if ($this->tempDir === null) {
54
-			$this->tempDir = sys_get_temp_dir() . '/exchange';
54
+			$this->tempDir = sys_get_temp_dir().'/exchange';
55 55
 		}
56 56
 		!is_dir($this->tempDir) && mkdir($this->tempDir, 0777, true);
57 57
 		$this->allowedCurrencies = Utils::transformCurrencies($allowedCurrencies);
Please login to merge, or discard this patch.
src/Caching/Cache.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	}
28 28
 
29 29
 
30
-	public function set(string $key, mixed $value, \DateInterval|int|null $ttl = null): bool
30
+	public function set(string $key, mixed $value, \DateInterval | int | null $ttl = null): bool
31 31
 	{
32 32
 		return (bool) file_put_contents($this->file($key), $value);
33 33
 	}
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 	/**
59 59
 	 * @param iterable<mixed> $values
60 60
 	 */
61
-	public function setMultiple(iterable $values, \DateInterval|int|null $ttl = null): bool
61
+	public function setMultiple(iterable $values, \DateInterval | int | null $ttl = null): bool
62 62
 	{
63 63
 		throw new \RuntimeException('not implemented');
64 64
 	}
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	private function file(string $key): string
80 80
 	{
81 81
 		if (!isset($this->keys[$key])) {
82
-			$this->keys[$key] = $this->tempDir . '/' . md5($key);
82
+			$this->keys[$key] = $this->tempDir.'/'.md5($key);
83 83
 		}
84 84
 
85 85
 		return $this->keys[$key];
Please login to merge, or discard this patch.
src/RatingList/RatingListCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
 	{
116 116
 		$suffix = $date === null ? '' : $date->format('.Y-m-d');
117 117
 
118
-		return self::driverName($driver) . $suffix;
118
+		return self::driverName($driver).$suffix;
119 119
 	}
120 120
 
121 121
 
Please login to merge, or discard this patch.
src/Currency/Formats.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 	/**
26 26
 	 * @param array<string, bool|int|string|null>|NumberFormat $setup
27 27
 	 */
28
-	public function setDefaultFormat(array|NumberFormat $setup): void
28
+	public function setDefaultFormat(array | NumberFormat $setup): void
29 29
 	{
30 30
 		if ($this->default !== null) {
31 31
 			throw new Exchange\Exceptions\InvalidStateException('Default format could be setup only onetime.');
Please login to merge, or discard this patch.
src/Driver/Cnb/Day.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 			return $url;
56 56
 		}
57 57
 
58
-		return "$url?date=" . urlencode($date->format('d.m.Y'));
58
+		return "$url?date=".urlencode($date->format('d.m.Y'));
59 59
 	}
60 60
 
61 61
 }
Please login to merge, or discard this patch.