minor #32974 "An instance of X" phpdocs removal (fabpot)
This PR was merged into the 4.4 branch.
Discussion
----------
"An instance of X" phpdocs removal
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
That's #32973 on 4.4 :P
Commits
-------
7a44ed6544
removed unneeded phpdocs
This commit is contained in:
commit
94a0719bfc
@ -36,7 +36,6 @@ abstract class AbstractDoctrineExtension extends Extension
|
||||
|
||||
/**
|
||||
* @param array $objectManager A configured object manager
|
||||
* @param ContainerBuilder $container A ContainerBuilder instance
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
|
@ -29,7 +29,6 @@ class HttpCache extends BaseHttpCache
|
||||
protected $kernel;
|
||||
|
||||
/**
|
||||
* @param KernelInterface $kernel A KernelInterface instance
|
||||
* @param string $cacheDir The cache directory (default used if null)
|
||||
*/
|
||||
public function __construct(KernelInterface $kernel, string $cacheDir = null)
|
||||
@ -43,7 +42,6 @@ class HttpCache extends BaseHttpCache
|
||||
/**
|
||||
* Forwards the Request to the backend and returns the Response.
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param bool $raw Whether to catch exceptions or not
|
||||
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
|
||||
*
|
||||
|
@ -36,12 +36,8 @@ class Router extends BaseRouter implements WarmableInterface, ServiceSubscriberI
|
||||
private $paramFetcher;
|
||||
|
||||
/**
|
||||
* @param ContainerInterface $container A ContainerInterface instance
|
||||
* @param mixed $resource The main resource to load
|
||||
* @param array $options An array of options
|
||||
* @param RequestContext $context The context
|
||||
* @param ContainerInterface|null $parameters A ContainerInterface instance allowing to fetch parameters
|
||||
* @param LoggerInterface|null $logger
|
||||
*/
|
||||
public function __construct(ContainerInterface $container, $resource, array $options = [], RequestContext $context = null, ContainerInterface $parameters = null, LoggerInterface $logger = null, string $defaultLocale = null)
|
||||
{
|
||||
|
@ -65,8 +65,6 @@ class Translator extends BaseTranslator implements WarmableInterface
|
||||
* * debug: Whether to enable debugging or not (false by default)
|
||||
* * resource_files: List of translation resources available grouped by locale.
|
||||
*
|
||||
* @param ContainerInterface $container A ContainerInterface instance
|
||||
* @param MessageFormatterInterface $formatter The message formatter
|
||||
* @param string $defaultLocale
|
||||
* @param array $loaderIds An array of loader Ids
|
||||
* @param array $options An array of options
|
||||
|
@ -30,7 +30,6 @@ class TemplateIterator implements \IteratorAggregate
|
||||
private $defaultPath;
|
||||
|
||||
/**
|
||||
* @param KernelInterface $kernel A KernelInterface instance
|
||||
* @param string $rootDir The directory where global templates can be stored
|
||||
* @param array $paths Additional Twig paths to warm
|
||||
* @param string|null $defaultPath The directory where global templates can be stored
|
||||
|
@ -38,7 +38,6 @@ class WebProfilerExtension extends Extension
|
||||
* Loads the web profiler configuration.
|
||||
*
|
||||
* @param array $configs An array of configuration settings
|
||||
* @param ContainerBuilder $container A ContainerBuilder instance
|
||||
*/
|
||||
public function load(array $configs, ContainerBuilder $container)
|
||||
{
|
||||
|
@ -140,7 +140,6 @@ class CookieJar
|
||||
/**
|
||||
* Updates the cookie jar from a Response object.
|
||||
*
|
||||
* @param Response $response A Response object
|
||||
* @param string $uri The base URL
|
||||
*/
|
||||
public function updateFromResponse(Response $response, $uri = null)
|
||||
|
@ -52,7 +52,6 @@ final class ProgressBar
|
||||
private static $formats;
|
||||
|
||||
/**
|
||||
* @param OutputInterface $output An OutputInterface instance
|
||||
* @param int $max Maximum steps (0 if unknown)
|
||||
*/
|
||||
public function __construct(OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 0.1)
|
||||
|
@ -353,7 +353,6 @@ class QuestionHelper extends Helper
|
||||
/**
|
||||
* Gets a hidden response from user.
|
||||
*
|
||||
* @param OutputInterface $output An Output instance
|
||||
* @param resource $inputStream The handler resource
|
||||
* @param bool $trimmable Is the answer trimmable
|
||||
*
|
||||
@ -417,8 +416,6 @@ class QuestionHelper extends Helper
|
||||
* Validates an attempt.
|
||||
*
|
||||
* @param callable $interviewer A callable that will ask for a question and return the result
|
||||
* @param OutputInterface $output An Output instance
|
||||
* @param Question $question A Question instance
|
||||
*
|
||||
* @return mixed The validated response
|
||||
*
|
||||
|
@ -24,7 +24,6 @@ interface FatalErrorHandlerInterface
|
||||
* Attempts to convert an error into an exception.
|
||||
*
|
||||
* @param array $error An array as returned by error_get_last()
|
||||
* @param FatalErrorException $exception A FatalErrorException instance
|
||||
*
|
||||
* @return FatalErrorException|null A FatalErrorException instance if the class is able to convert the error, null otherwise
|
||||
*/
|
||||
|
@ -22,10 +22,6 @@ class ParsedExpression extends Expression
|
||||
{
|
||||
private $nodes;
|
||||
|
||||
/**
|
||||
* @param string $expression An expression
|
||||
* @param Node $nodes A Node representing the expression
|
||||
*/
|
||||
public function __construct(string $expression, Node $nodes)
|
||||
{
|
||||
parent::__construct($expression);
|
||||
|
@ -31,11 +31,6 @@ class Session implements SessionInterface, \IteratorAggregate, \Countable
|
||||
private $data = [];
|
||||
private $usageIndex = 0;
|
||||
|
||||
/**
|
||||
* @param SessionStorageInterface $storage A SessionStorageInterface instance
|
||||
* @param AttributeBagInterface $attributes An AttributeBagInterface instance, (defaults null for default AttributeBag)
|
||||
* @param FlashBagInterface $flashes A FlashBagInterface instance (defaults null for default FlashBag)
|
||||
*/
|
||||
public function __construct(SessionStorageInterface $storage = null, AttributeBagInterface $attributes = null, FlashBagInterface $flashes = null)
|
||||
{
|
||||
$this->storage = $storage ?: new NativeSessionStorage();
|
||||
|
@ -25,7 +25,6 @@ class FileLocator extends BaseFileLocator
|
||||
private $path;
|
||||
|
||||
/**
|
||||
* @param KernelInterface $kernel A KernelInterface instance
|
||||
* @param string|null $path The path the global resource directory
|
||||
* @param array $paths An array of paths where to look for resources
|
||||
*/
|
||||
|
@ -37,7 +37,6 @@ class FragmentListener implements EventSubscriberInterface
|
||||
private $fragmentPath;
|
||||
|
||||
/**
|
||||
* @param UriSigner $signer A UriSigner instance
|
||||
* @param string $fragmentPath The path that triggers this listener
|
||||
*/
|
||||
public function __construct(UriSigner $signer, string $fragmentPath = '/_fragment')
|
||||
|
@ -34,7 +34,6 @@ class LocaleListener implements EventSubscriberInterface
|
||||
private $requestStack;
|
||||
|
||||
/**
|
||||
* @param RequestStack $requestStack A RequestStack instance
|
||||
* @param string $defaultLocale The default locale
|
||||
* @param RequestContextAwareInterface|null $router The router
|
||||
*/
|
||||
|
@ -39,9 +39,6 @@ class ProfilerListener implements EventSubscriberInterface
|
||||
protected $parents;
|
||||
|
||||
/**
|
||||
* @param Profiler $profiler A Profiler instance
|
||||
* @param RequestStack $requestStack A RequestStack instance
|
||||
* @param RequestMatcherInterface|null $matcher A RequestMatcher instance
|
||||
* @param bool $onlyException True if the profiler only collects data when an exception occurs, false otherwise
|
||||
* @param bool $onlyMasterRequests True if the profiler only collects data when the request is a master request, false otherwise
|
||||
*/
|
||||
|
@ -51,7 +51,6 @@ class RouterListener implements EventSubscriberInterface
|
||||
|
||||
/**
|
||||
* @param UrlMatcherInterface|RequestMatcherInterface $matcher The Url or Request matcher
|
||||
* @param RequestStack $requestStack A RequestStack instance
|
||||
* @param RequestContext|null $context The RequestContext (can be null when $matcher implements RequestContextAwareInterface)
|
||||
* @param LoggerInterface|null $logger The logger
|
||||
* @param string $projectDir
|
||||
|
@ -32,7 +32,6 @@ abstract class AbstractSurrogateFragmentRenderer extends RoutableFragmentRendere
|
||||
* The "fallback" strategy when surrogate is not available should always be an
|
||||
* instance of InlineFragmentRenderer.
|
||||
*
|
||||
* @param SurrogateInterface $surrogate An Surrogate instance
|
||||
* @param FragmentRendererInterface $inlineStrategy The inline strategy to use when the surrogate is not supported
|
||||
* @param UriSigner $signer
|
||||
*/
|
||||
|
@ -26,7 +26,6 @@ interface FragmentRendererInterface
|
||||
* Renders a URI and returns the Response content.
|
||||
*
|
||||
* @param string|ControllerReference $uri A URI as a string or a ControllerReference instance
|
||||
* @param Request $request A Request instance
|
||||
* @param array $options An array of options
|
||||
*
|
||||
* @return Response A Response instance
|
||||
|
@ -39,8 +39,6 @@ abstract class RoutableFragmentRenderer implements FragmentRendererInterface
|
||||
/**
|
||||
* Generates a fragment URI for a given controller.
|
||||
*
|
||||
* @param ControllerReference $reference A ControllerReference instance
|
||||
* @param Request $request A Request instance
|
||||
* @param bool $absolute Whether to generate an absolute URL or not
|
||||
* @param bool $strict Whether to allow non-scalar attributes or not
|
||||
*
|
||||
|
@ -256,7 +256,6 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
|
||||
/**
|
||||
* Forwards the Request to the backend without storing the Response in the cache.
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param bool $catch Whether to process exceptions
|
||||
*
|
||||
* @return Response A Response instance
|
||||
@ -271,7 +270,6 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
|
||||
/**
|
||||
* Invalidates non-safe methods (like POST, PUT, and DELETE).
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param bool $catch Whether to process exceptions
|
||||
*
|
||||
* @return Response A Response instance
|
||||
@ -320,7 +318,6 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
|
||||
* the backend using conditional GET. When no matching cache entry is found,
|
||||
* it triggers "miss" processing.
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param bool $catch Whether to process exceptions
|
||||
*
|
||||
* @return Response A Response instance
|
||||
@ -366,8 +363,6 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
|
||||
* The original request is used as a template for a conditional
|
||||
* GET request with the backend.
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param Response $entry A Response instance to validate
|
||||
* @param bool $catch Whether to process exceptions
|
||||
*
|
||||
* @return Response A Response instance
|
||||
@ -429,7 +424,6 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
|
||||
* Unconditionally fetches a fresh response from the backend and
|
||||
* stores it in the cache if is cacheable.
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param bool $catch Whether to process exceptions
|
||||
*
|
||||
* @return Response A Response instance
|
||||
@ -462,7 +456,6 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
|
||||
* All backend requests (cache passes, fetches, cache validations)
|
||||
* run through this method.
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param bool $catch Whether to catch exceptions or not
|
||||
* @param Response $entry A Response instance (the stale entry if present, null otherwise)
|
||||
*
|
||||
|
@ -78,7 +78,6 @@ interface SurrogateInterface
|
||||
/**
|
||||
* Handles a Surrogate from the cache.
|
||||
*
|
||||
* @param HttpCache $cache An HttpCache instance
|
||||
* @param string $uri The main URI
|
||||
* @param string $alt An alternative URI
|
||||
* @param bool $ignoreErrors Whether to ignore errors or not
|
||||
|
@ -110,7 +110,6 @@ class HttpKernel implements HttpKernelInterface, TerminableInterface
|
||||
*
|
||||
* Exceptions are not caught.
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param int $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
|
||||
*
|
||||
* @return Response A Response instance
|
||||
@ -175,7 +174,6 @@ class HttpKernel implements HttpKernelInterface, TerminableInterface
|
||||
/**
|
||||
* Filters a response object.
|
||||
*
|
||||
* @param Response $response A Response instance
|
||||
* @param Request $request An error message in case the response is not a Response object
|
||||
* @param int $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
|
||||
*
|
||||
@ -211,7 +209,6 @@ class HttpKernel implements HttpKernelInterface, TerminableInterface
|
||||
* Handles an exception by trying to convert it to a Response.
|
||||
*
|
||||
* @param \Exception $e An \Exception instance
|
||||
* @param Request $request A Request instance
|
||||
* @param int $type The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
|
||||
*
|
||||
* @throws \Exception
|
||||
|
@ -30,7 +30,6 @@ interface HttpKernelInterface
|
||||
* When $catch is true, the implementation must catch all exceptions
|
||||
* and do its best to convert them to a Response instance.
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param int $type The type of the request
|
||||
* (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
|
||||
* @param bool $catch Whether to catch exceptions or not
|
||||
|
@ -30,11 +30,6 @@ abstract class AbstractConnection implements ConnectionInterface
|
||||
$this->config = $resolver->resolve($config);
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures the adapter's options.
|
||||
*
|
||||
* @param OptionsResolver $resolver An OptionsResolver instance
|
||||
*/
|
||||
protected function configureOptions(OptionsResolver $resolver)
|
||||
{
|
||||
$resolver->setDefaults([
|
||||
|
@ -101,7 +101,6 @@ class YamlFileLoader extends FileLoader
|
||||
/**
|
||||
* Parses a route and adds it to the RouteCollection.
|
||||
*
|
||||
* @param RouteCollection $collection A RouteCollection instance
|
||||
* @param string $name Route name
|
||||
* @param array $config Route definition
|
||||
* @param string $path Full path of the YAML file being processed
|
||||
@ -154,7 +153,6 @@ class YamlFileLoader extends FileLoader
|
||||
/**
|
||||
* Parses an import and adds the routes in the resource to the RouteCollection.
|
||||
*
|
||||
* @param RouteCollection $collection A RouteCollection instance
|
||||
* @param array $config Route definition
|
||||
* @param string $path Full path of the YAML file being processed
|
||||
* @param string $file Loaded file name
|
||||
|
@ -96,11 +96,8 @@ class Router implements RouterInterface, RequestMatcherInterface
|
||||
private $expressionLanguageProviders = [];
|
||||
|
||||
/**
|
||||
* @param LoaderInterface $loader A LoaderInterface instance
|
||||
* @param mixed $resource The main resource to load
|
||||
* @param array $options An array of options
|
||||
* @param RequestContext $context The context
|
||||
* @param LoggerInterface $logger A logger instance
|
||||
*/
|
||||
public function __construct(LoaderInterface $loader, $resource, array $options = [], RequestContext $context = null, LoggerInterface $logger = null, string $defaultLocale = null)
|
||||
{
|
||||
|
@ -24,7 +24,6 @@ class RememberMeAuthenticationProvider implements AuthenticationProviderInterfac
|
||||
private $providerKey;
|
||||
|
||||
/**
|
||||
* @param UserCheckerInterface $userChecker An UserCheckerInterface interface
|
||||
* @param string $secret A secret
|
||||
* @param string $providerKey A provider secret
|
||||
*/
|
||||
|
@ -23,7 +23,6 @@ interface AccessDecisionManagerInterface
|
||||
/**
|
||||
* Decides whether the access is possible or not.
|
||||
*
|
||||
* @param TokenInterface $token A TokenInterface instance
|
||||
* @param array $attributes An array of attributes associated with the method being invoked
|
||||
* @param object $object The object to secure
|
||||
*
|
||||
|
@ -30,7 +30,6 @@ interface VoterInterface
|
||||
* This method must return one of the following constants:
|
||||
* ACCESS_GRANTED, ACCESS_DENIED, or ACCESS_ABSTAIN.
|
||||
*
|
||||
* @param TokenInterface $token A TokenInterface instance
|
||||
* @param mixed $subject The subject to secure
|
||||
* @param array $attributes An array of attributes associated with the method being invoked
|
||||
*
|
||||
|
@ -45,11 +45,8 @@ class GuardAuthenticationListener implements ListenerInterface
|
||||
private $rememberMeServices;
|
||||
|
||||
/**
|
||||
* @param GuardAuthenticatorHandler $guardHandler The Guard handler
|
||||
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
|
||||
* @param string $providerKey The provider (i.e. firewall) key
|
||||
* @param iterable|AuthenticatorInterface[] $guardAuthenticators The authenticators, with keys that match what's passed to GuardAuthenticationProvider
|
||||
* @param LoggerInterface $logger A LoggerInterface instance
|
||||
*/
|
||||
public function __construct(GuardAuthenticatorHandler $guardHandler, AuthenticationManagerInterface $authenticationManager, string $providerKey, $guardAuthenticators, LoggerInterface $logger = null)
|
||||
{
|
||||
|
@ -25,7 +25,6 @@ class AccessMap implements AccessMapInterface
|
||||
private $map = [];
|
||||
|
||||
/**
|
||||
* @param RequestMatcherInterface $requestMatcher A RequestMatcherInterface instance
|
||||
* @param array $attributes An array of attributes to pass to the access decision manager (like roles)
|
||||
* @param string|null $channel The channel to enforce (http, https, or null)
|
||||
*/
|
||||
|
@ -22,7 +22,6 @@ class CustomAuthenticationFailureHandler implements AuthenticationFailureHandler
|
||||
private $handler;
|
||||
|
||||
/**
|
||||
* @param AuthenticationFailureHandlerInterface $handler An AuthenticationFailureHandlerInterface instance
|
||||
* @param array $options Options for processing a successful authentication attempt
|
||||
*/
|
||||
public function __construct(AuthenticationFailureHandlerInterface $handler, array $options)
|
||||
|
@ -22,7 +22,6 @@ class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandler
|
||||
private $handler;
|
||||
|
||||
/**
|
||||
* @param AuthenticationSuccessHandlerInterface $handler An AuthenticationSuccessHandlerInterface instance
|
||||
* @param array $options Options for processing a successful authentication attempt
|
||||
* @param string $providerKey The provider key
|
||||
*/
|
||||
|
@ -29,8 +29,6 @@ class FormAuthenticationEntryPoint implements AuthenticationEntryPointInterface
|
||||
private $httpUtils;
|
||||
|
||||
/**
|
||||
* @param HttpKernelInterface $kernel
|
||||
* @param HttpUtils $httpUtils An HttpUtils instance
|
||||
* @param string $loginPath The path to the login form
|
||||
* @param bool $useForward Whether to forward or redirect to the login form
|
||||
*/
|
||||
|
@ -43,10 +43,7 @@ class LogoutListener implements ListenerInterface
|
||||
|
||||
/**
|
||||
* @param TokenStorageInterface $tokenStorage
|
||||
* @param HttpUtils $httpUtils An HttpUtils instance
|
||||
* @param LogoutSuccessHandlerInterface $successHandler A LogoutSuccessHandlerInterface instance
|
||||
* @param array $options An array of options to process a logout attempt
|
||||
* @param CsrfTokenManagerInterface|null $csrfTokenManager A CsrfTokenManagerInterface instance
|
||||
*/
|
||||
public function __construct(TokenStorageInterface $tokenStorage, HttpUtils $httpUtils, LogoutSuccessHandlerInterface $successHandler, array $options = [], CsrfTokenManagerInterface $csrfTokenManager = null)
|
||||
{
|
||||
|
@ -33,7 +33,6 @@ class HttpUtils
|
||||
private $secureDomainRegexp;
|
||||
|
||||
/**
|
||||
* @param UrlGeneratorInterface $urlGenerator A UrlGeneratorInterface instance
|
||||
* @param UrlMatcherInterface|RequestMatcherInterface $urlMatcher The URL or Request matcher
|
||||
* @param string|null $domainRegexp A regexp the target of HTTP redirections must match, scheme included
|
||||
* @param string|null $secureDomainRegexp A regexp the target of HTTP redirections must match when the scheme is "https"
|
||||
@ -54,7 +53,6 @@ class HttpUtils
|
||||
/**
|
||||
* Creates a redirect Response.
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo))
|
||||
* @param int $status The status code
|
||||
*
|
||||
@ -114,7 +112,6 @@ class HttpUtils
|
||||
/**
|
||||
* Checks that a given path matches the Request.
|
||||
*
|
||||
* @param Request $request A Request instance
|
||||
* @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo))
|
||||
*
|
||||
* @return bool true if the path is the same as the one from the Request, false otherwise
|
||||
|
@ -23,11 +23,6 @@ trait DenormalizerAwareTrait
|
||||
*/
|
||||
protected $denormalizer;
|
||||
|
||||
/**
|
||||
* Sets the Denormalizer.
|
||||
*
|
||||
* @param DenormalizerInterface $denormalizer A DenormalizerInterface instance
|
||||
*/
|
||||
public function setDenormalizer(DenormalizerInterface $denormalizer)
|
||||
{
|
||||
$this->denormalizer = $denormalizer;
|
||||
|
@ -23,11 +23,6 @@ trait NormalizerAwareTrait
|
||||
*/
|
||||
protected $normalizer;
|
||||
|
||||
/**
|
||||
* Sets the normalizer.
|
||||
*
|
||||
* @param NormalizerInterface $normalizer A NormalizerInterface instance
|
||||
*/
|
||||
public function setNormalizer(NormalizerInterface $normalizer)
|
||||
{
|
||||
$this->normalizer = $normalizer;
|
||||
|
@ -23,11 +23,6 @@ trait SerializerAwareTrait
|
||||
*/
|
||||
protected $serializer;
|
||||
|
||||
/**
|
||||
* Sets the serializer.
|
||||
*
|
||||
* @param SerializerInterface $serializer A SerializerInterface instance
|
||||
*/
|
||||
public function setSerializer(SerializerInterface $serializer)
|
||||
{
|
||||
$this->serializer = $serializer;
|
||||
|
@ -30,7 +30,6 @@ class CacheLoader extends Loader
|
||||
protected $dir;
|
||||
|
||||
/**
|
||||
* @param LoaderInterface $loader A Loader instance
|
||||
* @param string $dir The directory where to store the cache files
|
||||
*/
|
||||
public function __construct(LoaderInterface $loader, string $dir)
|
||||
|
@ -109,7 +109,6 @@ class Translator implements LegacyTranslatorInterface, TranslatorInterface, Tran
|
||||
* Adds a Loader.
|
||||
*
|
||||
* @param string $format The name of the loader (@see addResource())
|
||||
* @param LoaderInterface $loader A LoaderInterface instance
|
||||
*/
|
||||
public function addLoader($format, LoaderInterface $loader)
|
||||
{
|
||||
|
@ -116,7 +116,6 @@ abstract class AbstractDumper implements DataDumperInterface, DumperInterface
|
||||
/**
|
||||
* Dumps a Data object.
|
||||
*
|
||||
* @param Data $data A Data object
|
||||
* @param callable|resource|string|true|null $output A line dumper callable, an opened stream, an output path or true to return the dump
|
||||
*
|
||||
* @return string|null The dump as string when $output is true
|
||||
|
Reference in New Issue
Block a user