[HttpKernel][Translator] Fixed type-hints

This commit is contained in:
Drak 2012-10-04 16:11:30 +01:00
parent f90882927b
commit 22c7a910b8
4 changed files with 10 additions and 10 deletions

View File

@ -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
*/

View File

@ -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
*/

View File

@ -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)
{

View File

@ -44,7 +44,7 @@ class MessageSelector
*
* @return string
*
* @throws InvalidArgumentException
* @throws \InvalidArgumentException
*
* @api
*/