minor #24664 [2.8] Fix some docblocks (nicolas-grekas)

This PR was merged into the 2.8 branch.

Discussion
----------

[2.8] Fix some docblocks

| Q             | A
| ------------- | ---
| Branch?       | 2.8
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

1cfd7de [2.8] Fix some docblocks
This commit is contained in:
Nicolas Grekas 2017-10-24 14:41:51 +02:00
commit 6ad4fa4b06
3 changed files with 6 additions and 7 deletions

View File

@ -38,9 +38,6 @@ class RouteCollectionBuilder
private $methods;
private $resources = array();
/**
* @param LoaderInterface $loader
*/
public function __construct(LoaderInterface $loader = null)
{
$this->loader = $loader;

View File

@ -44,9 +44,6 @@ class GuardAuthenticatorHandler
/**
* Authenticates the given token in the system.
*
* @param TokenInterface $token
* @param Request $request
*/
public function authenticateWithToken(TokenInterface $token, Request $request)
{

View File

@ -13,6 +13,7 @@ namespace Symfony\Component\Serializer\Tests\Encoder;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Serializer\Encoder\ChainEncoder;
use Symfony\Component\Serializer\Encoder\EncoderInterface;
use Symfony\Component\Serializer\Encoder\NormalizationAwareInterface;
class ChainEncoderTest extends TestCase
@ -121,10 +122,14 @@ class ChainNormalizationAwareEncoder extends ChainEncoder implements Normalizati
{
}
class NormalizationAwareEncoder implements NormalizationAwareInterface
class NormalizationAwareEncoder implements EncoderInterface, NormalizationAwareInterface
{
public function supportsEncoding($format)
{
return true;
}
public function encode($data, $format, array $context = array())
{
}
}