Skip to content

Commit f0fac42

Browse files
committed
deprecated stuff
1 parent 5eed70e commit f0fac42

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/Caching/Cache.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ class Cache
6363
public const ALL = self::All;
6464

6565
/** @internal */
66-
public const
67-
NamespaceSeparator = "\x00",
68-
NAMESPACE_SEPARATOR = self::NamespaceSeparator;
66+
public const NamespaceSeparator = "\x00";
6967

7068
private Storage $storage;
7169
private string $namespace;
@@ -391,6 +389,7 @@ public function capture(mixed $key): ?OutputHelper
391389
*/
392390
public function start(mixed $key): ?OutputHelper
393391
{
392+
trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
394393
return $this->capture($key);
395394
}
396395

0 commit comments

Comments
 (0)