Skip to content

Commit 69c0c1d

Browse files
author
Sam Stevens
committed
CS fixes
1 parent 42aa0fc commit 69c0c1d

File tree

5 files changed

+22
-21
lines changed

5 files changed

+22
-21
lines changed

BugsnagBundle.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ class BugsnagBundle extends Bundle
1616
const VERSION = '1.0.0';
1717

1818
/**
19-
* @inheritdoc
19+
* {@inheritdoc}
20+
*
2021
* @param \Symfony\Component\DependencyInjection\ContainerBuilder $container
2122
*/
2223
public function build(ContainerBuilder $container)

Callbacks/UserSettingCallback.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ class UserSettingCallback
3030

3131
/**
3232
* @param null|\Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokens
33-
* @param null|\Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $checker
34-
* @param bool $setUser
33+
* @param null|\Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $checker
34+
* @param bool $setUser
3535
*/
3636
public function __construct(
3737
TokenStorageInterface $tokens = null,
@@ -50,7 +50,7 @@ public function registerCallback(Report $report)
5050
{
5151
// If told to not set the user, or the security services were not passed in
5252
// (not registered in the container), then exit early
53-
if (! $this->setUser || is_null($this->tokens) || is_null($this->checker)) {
53+
if (!$this->setUser || is_null($this->tokens) || is_null($this->checker)) {
5454
return;
5555
}
5656

DependencyInjection/ClientFactory.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -124,21 +124,21 @@ class ClientFactory
124124
/**
125125
* Create a new client factory instance.
126126
*
127-
* @param \Bugsnag\BugsnagBundle\Request\SymfonyResolver $resolver
128-
* @param string|null $key
129-
* @param string|null $endpoint
130-
* @param bool $callbacks
131-
* @param string|null $type
132-
* @param string|null $version
133-
* @param bool $batch
134-
* @param string|null $hostname
135-
* @param bool $code
136-
* @param string|null $strip
137-
* @param string|null $project
138-
* @param string|null $root
139-
* @param string|null $stage
140-
* @param string[]|null $stages
141-
* @param string[]|null $filters
127+
* @param \Bugsnag\BugsnagBundle\Request\SymfonyResolver $resolver
128+
* @param string|null $key
129+
* @param string|null $endpoint
130+
* @param bool $callbacks
131+
* @param string|null $type
132+
* @param string|null $version
133+
* @param bool $batch
134+
* @param string|null $hostname
135+
* @param bool $code
136+
* @param string|null $strip
137+
* @param string|null $project
138+
* @param string|null $root
139+
* @param string|null $stage
140+
* @param string[]|null $stages
141+
* @param string[]|null $filters
142142
*
143143
* @return void
144144
*/

DependencyInjection/Compiler/CallbackRegisteringPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class CallbackRegisteringPass implements CompilerPassInterface
1616
*/
1717
public function process(ContainerBuilder $container)
1818
{
19-
if (! $container->has(self::FACTORY_SERVICE_NAME)) {
19+
if (!$container->has(self::FACTORY_SERVICE_NAME)) {
2020
return;
2121
}
2222

Tests/Callbacks/UserSettingCallbackTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function testUserIsSetWhenLoggedIn()
7474
->expects($this->once())
7575
->method('setUser')
7676
->with([
77-
'id' => $user->getUsername()
77+
'id' => $user->getUsername(),
7878
]);
7979

8080
$callback = new UserSettingCallback($tokenStorageMock, $authorizationChecker, true);

0 commit comments

Comments
 (0)