8000 [2.8] Fix some docblocks · alexpott/symfony@1cfd7de · GitHub
[go: up one dir, main page]

Skip to content

Commit 1cfd7de

Browse files
[2.8] Fix some docblocks
1 parent e366a98 commit 1cfd7de

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/Symfony/Component/Routing/RouteCollectionBuilder.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ class RouteCollectionBuilder
3838
private $methods;
3939
private $resources = array();
4040

41-
/**
42-
* @param LoaderInterface $loader
43-
*/
4441
public function __construct(LoaderInterface $loader = null)
4542
{
4643
$this->loader = $loader;

src/Symfony/Component/Security/Guard/GuardAuthenticatorHandler.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ public function __construct(TokenStorageInterface $tokenStorage, EventDispatcher
4444

4545
/**
4646
* Authenticates the given token in the system.
47-
*
48-
* @param TokenInterface $token
49-
* @param Request $request
5047
*/
5148
public function authenticateWithToken(TokenInterface $token, Request $request)
5249
{

src/Symfony/Component/Serializer/Tests/Encoder/ChainEncoderTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\Serializer\Encoder\ChainEncoder;
16+
use Symfony\Component\Serializer\Encoder\EncoderInterface;
1617
use Symfony\Component\Serializer\Encoder\NormalizationAwareInterface;
1718

1819
class ChainEncoderTest extends TestCase
@@ -121,10 +122,14 @@ class ChainNormalizationAwareEncoder extends ChainEncoder implements Normalizati
121122
{
122123
}
123124

124-
class NormalizationAwareEncoder implements NormalizationAwareInterface
125+
class NormalizationAwareEncoder implements EncoderInterface, NormalizationAwareInterface
125126
{
126127
public function supportsEncoding($format)
127128
{
128129
return true;
129130
}
131+
132+
public function encode($data, $format, array $context = array())
133+
{
134+
}
130135
}

0 commit comments

Comments
 (0)
0