Skip to content

Commit 265fdf3

Browse files
committed
deprecated stuff
1 parent ee3db8d commit 265fdf3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Caching/Cache.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ class Cache
6666
public const ALL = self::All;
6767

6868
/** @internal */
69-
public const
70-
NamespaceSeparator = "\x00",
71-
NAMESPACE_SEPARATOR = self::NamespaceSeparator;
69+
public const NamespaceSeparator = "\x00";
7270

7371
private Storage $storage;
7472
private string $namespace;
@@ -348,6 +346,7 @@ public function capture(mixed $key): ?OutputHelper
348346
*/
349347
public function start($key): ?OutputHelper
350348
{
349+
trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
351350
return $this->capture($key);
352351
}
353352

0 commit comments

Comments
 (0)