Skip to content

Commit 08d3da9

Browse files
committed
Remove whitespaces from union types
1 parent 2877423 commit 08d3da9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

wcfsetup/install/files/lib/system/cache/tolerant/AbstractTolerantCache.class.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@
1212
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
1313
* @since 6.2
1414
*
15-
* @template T of array | object
15+
* @template T of array|object
1616
*/
1717
abstract class AbstractTolerantCache
1818
{
1919
/**
2020
* @var T
2121
*/
22-
private array | object $cache;
22+
private array|object $cache;
2323
private string $cacheName;
2424

2525
/**
2626
* @return T
2727
*/
28-
final public function getCache(): array | object
28+
final public function getCache(): array|object
2929
{
3030
if (!isset($this->cache)) {
3131
$cache = CacheHandler::getInstance()->getCacheSource()->get(
@@ -108,7 +108,7 @@ final public function rebuild(): void
108108
/**
109109
* @return T
110110
*/
111-
abstract protected function rebuildCacheData(): array | object;
111+
abstract protected function rebuildCacheData(): array|object;
112112

113113
final public function nextRebuildTime(): int
114114
{

0 commit comments

Comments
 (0)