Skip to content

Commit ad0a030

Browse files
committed
deprecated stuff
1 parent 7846a0e commit ad0a030

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;
@@ -402,6 +400,7 @@ public function capture(mixed $key): ?OutputHelper
402400
*/
403401
public function start(mixed $key): ?OutputHelper
404402
{
403+
trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
405404
return $this->capture($key);
406405
}
407406

0 commit comments

Comments
 (0)