Skip to content

Commit

Permalink
fix deprecations (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher authored Jun 6, 2023
1 parent 59c7039 commit 7549f13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
*/
class Configuration implements ConfigurationInterface
{
/**
* {@inheritDoc}
*/
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('nelmio_solarium');
Expand Down
3 changes: 3 additions & 0 deletions src/DependencyInjection/NelmioSolariumExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
*/
class NelmioSolariumExtension extends Extension
{
/**
* @return void
*/
public function load(array $configs, ContainerBuilder $container)
{
$config = $this->processConfiguration(new Configuration(), $configs);
Expand Down
3 changes: 3 additions & 0 deletions src/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ public function log(SolariumRequest $request, $response, SolariumEndpoint $endpo
];
}

/**
* @return void
*/
public function collect(HttpRequest $request, HttpResponse $response, /** \Throwable */ $exception = null)
{
if (isset($this->currentRequest)) {
Expand Down

0 comments on commit 7549f13

Please sign in to comment.