[HttpKernel][Translator] Fixed type-hints
This commit is contained in:
parent
f90882927b
commit
22c7a910b8
@ -28,14 +28,14 @@ class GetResponseEvent extends KernelEvent
|
||||
{
|
||||
/**
|
||||
* The response object
|
||||
* @var Symfony\Component\HttpFoundation\Response
|
||||
* @var Response
|
||||
*/
|
||||
private $response;
|
||||
|
||||
/**
|
||||
* Returns the response object
|
||||
*
|
||||
* @return Symfony\Component\HttpFoundation\Response
|
||||
* @return Response
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
@ -47,7 +47,7 @@ class GetResponseEvent extends KernelEvent
|
||||
/**
|
||||
* Sets a response and stops event propagation
|
||||
*
|
||||
* @param Symfony\Component\HttpFoundation\Response $response
|
||||
* @param Response $response
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -26,13 +26,13 @@ class KernelEvent extends Event
|
||||
{
|
||||
/**
|
||||
* The kernel in which this event was thrown
|
||||
* @var Symfony\Component\HttpKernel\HttpKernelInterface
|
||||
* @var HttpKernelInterface
|
||||
*/
|
||||
private $kernel;
|
||||
|
||||
/**
|
||||
* The request the kernel is currently processing
|
||||
* @var Symfony\Component\HttpFoundation\Request
|
||||
* @var Request
|
||||
*/
|
||||
private $request;
|
||||
|
||||
@ -53,7 +53,7 @@ class KernelEvent extends Event
|
||||
/**
|
||||
* Returns the kernel in which this event was thrown
|
||||
*
|
||||
* @return Symfony\Component\HttpKernel\HttpKernelInterface
|
||||
* @return HttpKernelInterface
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
@ -65,7 +65,7 @@ class KernelEvent extends Event
|
||||
/**
|
||||
* Returns the request the kernel is currently processing
|
||||
*
|
||||
* @return Symfony\Component\HttpFoundation\Request
|
||||
* @return Request
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
@ -51,7 +51,7 @@ class XliffFileLoader implements LoaderInterface
|
||||
*
|
||||
* @param string $file
|
||||
*
|
||||
* @return SimpleXMLElement
|
||||
* @return \SimpleXMLElement
|
||||
*/
|
||||
private function parseFile($file)
|
||||
{
|
||||
@ -106,7 +106,7 @@ class XliffFileLoader implements LoaderInterface
|
||||
/**
|
||||
* Returns the XML errors of the internal XML parser
|
||||
*
|
||||
* @return array An array of errors
|
||||
* @return array An array of errors
|
||||
*/
|
||||
private function getXmlErrors($internalErrors)
|
||||
{
|
||||
|
@ -44,7 +44,7 @@ class MessageSelector
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
* @throws \InvalidArgumentException
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
|
Reference in New Issue
Block a user