File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ Changelog
33
44See also the [ GitHub releases page] ( https://github.com/FriendsOfSymfony/FOSHttpCache/releases ) .
55
6+ 2.14.2
7+ ------
8+
9+ * Fixed varnish configuration examples to say ` Authorization ` and not ` Autorization ` .
10+
6112.14.1
712------
813
Original file line number Diff line number Diff line change 1111
1212namespace FOS \HttpCache \SymfonyCache ;
1313
14- use function class_alias ;
15- use function class_exists ;
16-
1714use Symfony \Component \HttpKernel \HttpKernelInterface ;
1815use Symfony \Component \HttpKernel \Kernel ;
1916
2522 * Symfony 6 introduced a BC break in the signature of the protected method HttpKernelInterface::fetch.
2623 * Load the correct interface to match the signature.
2724 */
28- if (class_exists (Kernel::class) && Kernel::MAJOR_VERSION >= 6 ) {
25+ if (\ class_exists (Kernel::class) && Kernel::MAJOR_VERSION >= 6 ) {
2926 // Load class for Symfony >=6.0
30- class_alias (
27+ \ class_alias (
3128 Compatibility \CacheInvalidationS6::class,
3229 CacheInvalidation::class
3330 );
3431} else {
3532 // Load class for any other cases
36- class_alias (
33+ \ class_alias (
3734 Compatibility \CacheInvalidationLegacy::class,
3835 CacheInvalidation::class
3936 );
You can’t perform that action at this time.
0 commit comments