[2.8] Fix some docblocks

This commit is contained in:
Nicolas Grekas 2017-10-22 09:49:36 -07:00
parent e366a98dc4
commit 1cfd7de0dc
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())
{
}
}