File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class BugsnagBundle extends Bundle
1616 const VERSION = '1.0.0 ' ;
1717
1818 /**
19- * {@inheritdoc}
19+ * Setup the callback registering pass.
2020 *
2121 * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container
2222 *
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ class UserSettingCallback
3232 * @param null|\Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokens
3333 * @param null|\Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $checker
3434 * @param bool $setUser
35+ *
36+ * @return void
3537 */
3638 public function __construct (
3739 TokenStorageInterface $ tokens = null ,
@@ -44,6 +46,9 @@ public function __construct(
4446 }
4547
4648 /**
49+ * Define a callback to set the currently authenticated user as the user
50+ * on any Bugsnag reports that are sent.
51+ *
4752 * @param \Bugsnag\Report $report
4853 *
4954 * @return void
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ parameters:
44# parameter_name: value
55
66services :
7-
87 bugsnag_metadata_callback :
98 class : AppBundle\Bugsnag\MetadataCallback
109 tags :
11- - { name: 'bugsnag.callback' }
10+ - { name: 'bugsnag.callback' }
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ parameters:
44# parameter_name: value
55
66services :
7-
87 bugsnag_metadata_callback :
98 class : AppBundle\Bugsnag\MetadataCallback
109 tags :
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ parameters:
44# parameter_name: value
55
66services :
7-
87 bugsnag_metadata_callback :
98 class : AppBundle\Bugsnag\MetadataCallback
109 tags :
You can’t perform that action at this time.
0 commit comments