Skip to content

Commit 7c37a97

Browse files
committed
deprecated stuff
1 parent cf37311 commit 7c37a97

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
@@ -65,9 +65,7 @@ class Cache
6565
public const ALL = self::All;
6666

6767
/** @internal */
68-
public const
69-
NamespaceSeparator = "\x00",
70-
NAMESPACE_SEPARATOR = self::NamespaceSeparator;
68+
public const NamespaceSeparator = "\x00";
7169

7270
private Storage $storage;
7371
private string $namespace;
@@ -386,6 +384,7 @@ public function capture(mixed $key): ?OutputHelper
386384
*/
387385
public function start($key): ?OutputHelper
388386
{
387+
trigger_error(__METHOD__ . '() was renamed to capture()', E_USER_DEPRECATED);
389388
return $this->capture($key);
390389
}
391390

0 commit comments

Comments
 (0)