Skip to content

Commit

Permalink
Used OptionsResolver instead of deprecated Symfony\Component\OptionsR…
Browse files Browse the repository at this point in the history
…esolver\Options
  • Loading branch information
ftrrtf committed Nov 7, 2017
1 parent 42ef300 commit d986ea1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rollbar/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Ftrrtf\Rollbar\Environment as BaseEnvironment;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\OptionsResolver\Options;
use Symfony\Component\OptionsResolver\OptionsResolver;

/**
* Configure Symfony specific env.
Expand Down Expand Up @@ -52,9 +52,9 @@ public function setRequest($request)
}

/**
* @param Options $resolver
* @param OptionsResolver $resolver
*/
protected function setDefaultOptions(Options $resolver)
protected function setDefaultOptions(OptionsResolver $resolver)
{
parent::setDefaultOptions($resolver);

Expand Down

0 comments on commit d986ea1

Please sign in to comment.