From 928fbe41e0cf9b4942e71289049bb538b374595c Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo <1102197+priyadi@users.noreply.github.com> Date: Wed, 3 Jul 2024 12:19:08 +0700 Subject: [PATCH] fix: fix deprecations (#112) --- CHANGELOG.md | 4 ++++ .../RekalogikaRekapagerApiPlatformExtension.php | 2 +- .../src/DependencyInjection/RekalogikaRekapagerExtension.php | 2 +- .../src/DependencyInjection/RemoveMissingDepsPass.php | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29073f1..5579470 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +# 0.12.4 + +* fix: fix deprecations + # 0.12.3 * feat: add `Closure` type parameter for count in all Pageable implementations diff --git a/packages/rekapager-api-platform/src/DependencyInjection/RekalogikaRekapagerApiPlatformExtension.php b/packages/rekapager-api-platform/src/DependencyInjection/RekalogikaRekapagerApiPlatformExtension.php index 15101c9..e32c104 100644 --- a/packages/rekapager-api-platform/src/DependencyInjection/RekalogikaRekapagerApiPlatformExtension.php +++ b/packages/rekapager-api-platform/src/DependencyInjection/RekalogikaRekapagerApiPlatformExtension.php @@ -21,7 +21,7 @@ class RekalogikaRekapagerApiPlatformExtension extends Extension { - public function load(array $configs, ContainerBuilder $container) + public function load(array $configs, ContainerBuilder $container): void { // load our services diff --git a/packages/rekapager-bundle/src/DependencyInjection/RekalogikaRekapagerExtension.php b/packages/rekapager-bundle/src/DependencyInjection/RekalogikaRekapagerExtension.php index 11c54c2..2690bd1 100644 --- a/packages/rekapager-bundle/src/DependencyInjection/RekalogikaRekapagerExtension.php +++ b/packages/rekapager-bundle/src/DependencyInjection/RekalogikaRekapagerExtension.php @@ -24,7 +24,7 @@ class RekalogikaRekapagerExtension extends Extension implements PrependExtensionInterface { - public function load(array $configs, ContainerBuilder $container) + public function load(array $configs, ContainerBuilder $container): void { // load configuration diff --git a/packages/rekapager-bundle/src/DependencyInjection/RemoveMissingDepsPass.php b/packages/rekapager-bundle/src/DependencyInjection/RemoveMissingDepsPass.php index c995749..218052e 100644 --- a/packages/rekapager-bundle/src/DependencyInjection/RemoveMissingDepsPass.php +++ b/packages/rekapager-bundle/src/DependencyInjection/RemoveMissingDepsPass.php @@ -19,7 +19,7 @@ class RemoveMissingDepsPass implements CompilerPassInterface { - public function process(ContainerBuilder $container) + public function process(ContainerBuilder $container): void { if (!$container->hasDefinition('twig')) { $container->removeDefinition(TwigPagerRenderer::class);