Skip to content

Commit 67bd74f

Browse files
committed
deprecated stuff
1 parent ad66b1f commit 67bd74f

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;
@@ -385,6 +383,7 @@ public function capture(mixed $key): ?OutputHelper
385383
*/
386384
public function start($key): ?OutputHelper
387385
{
386+
trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
388387
return $this->capture($key);
389388
}
390389

0 commit comments

Comments
 (0)