Skip to content

Commit

Permalink
Merge pull request #237 from garak/fix-deprecated
Browse files Browse the repository at this point in the history
fix deprecated code
  • Loading branch information
Jean85 committed Sep 17, 2019
2 parents b2c8bea + 6fd2191 commit 458c4bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
...
- Add forward compatibility with Symfony 5 (#235, thanks to @garak)

## 3.1.0 - 2019-07-02
- Add support for Symfony 2.8 (#233, thanks to @nocive)
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Expand Up @@ -21,7 +21,7 @@ class Configuration implements ConfigurationInterface
* @throws \InvalidArgumentException
* @throws \RuntimeException
*/
public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('sentry');
/** @var ArrayNodeDefinition $rootNode */
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/SentryExtension.php
Expand Up @@ -32,7 +32,7 @@ class SentryExtension extends Extension
*
* @throws InvalidConfigurationException
*/
public function load(array $configs, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container): void
{
$configuration = new Configuration();
$processedConfiguration = $this->processConfiguration($configuration, $configs);
Expand Down

0 comments on commit 458c4bf

Please sign in to comment.