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:
commit
6ad4fa4b06
@ -38,9 +38,6 @@ class RouteCollectionBuilder
|
||||
private $methods;
|
||||
private $resources = array();
|
||||
|
||||
/**
|
||||
* @param LoaderInterface $loader
|
||||
*/
|
||||
public function __construct(LoaderInterface $loader = null)
|
||||
{
|
||||
$this->loader = $loader;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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())
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user