Skip to content

Commit 1442b9e

Browse files
committed
deprecated stuff
1 parent 2d96ee2 commit 1442b9e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Caching/Cache.php

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

6666
/** @internal */
67-
public const
68-
NamespaceSeparator = "\x00",
69-
NAMESPACE_SEPARATOR = self::NamespaceSeparator;
67+
public const NamespaceSeparator = "\x00";
7068

7169
private Storage $storage;
7270
private string $namespace;
@@ -346,6 +344,7 @@ public function capture(mixed $key): ?OutputHelper
346344
*/
347345
public function start($key): ?OutputHelper
348346
{
347+
trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
349348
return $this->capture($key);
350349
}
351350

0 commit comments

Comments
 (0)