Skip to content

Commit

Permalink
fix deprecated code
Browse files Browse the repository at this point in the history
See issue getsentry#235
  • Loading branch information
garak committed Sep 16, 2019
1 parent b2c8bea commit 33f8d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 33f8d99

Please sign in to comment.