fixed some phpdoc
This commit is contained in:
parent
b9a14f0411
commit
fa1c946140
@ -31,8 +31,9 @@ class TimedTwigEngine extends TwigEngine
|
||||
*
|
||||
* @param \Twig_Environment $environment A \Twig_Environment instance
|
||||
* @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance
|
||||
* @param GlobalVariables|null $globals A GlobalVariables instance or null
|
||||
* @param FileLocatorInterface $locator A FileLocatorInterface instance
|
||||
* @param Stopwatch $stopwatch A Stopwatch instance
|
||||
* @param GlobalVariables $globals A GlobalVariables instance
|
||||
*/
|
||||
public function __construct(\Twig_Environment $environment, TemplateNameParserInterface $parser, FileLocatorInterface $locator, Stopwatch $stopwatch, GlobalVariables $globals = null)
|
||||
{
|
||||
|
@ -35,6 +35,7 @@ class TwigEngine implements EngineInterface, StreamingEngineInterface
|
||||
*
|
||||
* @param \Twig_Environment $environment A \Twig_Environment instance
|
||||
* @param TemplateNameParserInterface $parser A TemplateNameParserInterface instance
|
||||
* @param FileLocatorInterface $locator A FileLocatorInterface instance
|
||||
* @param GlobalVariables|null $globals A GlobalVariables instance or null
|
||||
*/
|
||||
public function __construct(\Twig_Environment $environment, TemplateNameParserInterface $parser, FileLocatorInterface $locator, GlobalVariables $globals = null)
|
||||
|
@ -44,7 +44,7 @@ class TimeDataCollector extends DataCollector
|
||||
/**
|
||||
* Sets the request events.
|
||||
*
|
||||
* @param array $event The request events
|
||||
* @param array $events The request events
|
||||
*/
|
||||
public function setEvents(array $events)
|
||||
{
|
||||
|
@ -20,7 +20,10 @@ class MongoDbProfilerStorage implements ProfilerStorageInterface
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $dsn A data source name
|
||||
* @param string $dsn A data source name
|
||||
* @param string $username Not used
|
||||
* @param string $password Not used
|
||||
* @param integer $lifetime The lifetime to use for the purge
|
||||
*/
|
||||
public function __construct($dsn, $username = '', $password = '', $lifetime = 86400)
|
||||
{
|
||||
@ -31,9 +34,10 @@ class MongoDbProfilerStorage implements ProfilerStorageInterface
|
||||
/**
|
||||
* Finds profiler tokens for the given criteria.
|
||||
*
|
||||
* @param string $ip The IP
|
||||
* @param string $url The URL
|
||||
* @param string $limit The maximum number of tokens to return
|
||||
* @param string $ip The IP
|
||||
* @param string $url The URL
|
||||
* @param string $limit The maximum number of tokens to return
|
||||
* @param string $method The request method
|
||||
*
|
||||
* @return array An array of tokens
|
||||
*/
|
||||
|
@ -98,7 +98,7 @@ class Translator implements TranslatorInterface
|
||||
/**
|
||||
* Sets the fallback locale(s).
|
||||
*
|
||||
* @param string|array $locale The fallback locale(s)
|
||||
* @param string|array $locales The fallback locale(s)
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
Reference in New Issue
Block a user