Skip to content

Commit 458c4bf

Browse files
authored
Merge pull request #237 from garak/fix-deprecated
fix deprecated code
2 parents b2c8bea + 6fd2191 commit 458c4bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

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

1010
## 3.1.0 - 2019-07-02
1111
- Add support for Symfony 2.8 (#233, thanks to @nocive)

src/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Configuration implements ConfigurationInterface
2121
* @throws \InvalidArgumentException
2222
* @throws \RuntimeException
2323
*/
24-
public function getConfigTreeBuilder()
24+
public function getConfigTreeBuilder(): TreeBuilder
2525
{
2626
$treeBuilder = new TreeBuilder('sentry');
2727
/** @var ArrayNodeDefinition $rootNode */

src/DependencyInjection/SentryExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class SentryExtension extends Extension
3232
*
3333
* @throws InvalidConfigurationException
3434
*/
35-
public function load(array $configs, ContainerBuilder $container)
35+
public function load(array $configs, ContainerBuilder $container): void
3636
{
3737
$configuration = new Configuration();
3838
$processedConfiguration = $this->processConfiguration($configuration, $configs);

0 commit comments

Comments
 (0)