Skip to content

Commit 15b16fa

Browse files
committed
Revert "expanded namespaces within phpdoc (special for PhpStorm)"
This reverts commit 6e7439e73ade26bca01edc193c836b35aaa91ffe.
1 parent 72b4160 commit 15b16fa

File tree

3 files changed

+10
-15
lines changed

3 files changed

+10
-15
lines changed

Command/ContainerAwareCommand.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,10 @@
2828
abstract class ContainerAwareCommand extends Command implements ContainerAwareInterface
2929
{
3030
/**
31-
* @var \Symfony\Component\DependencyInjection\ContainerInterface
31+
* @var ContainerInterface
3232
*/
3333
private $container;
3434

35-
/**
36-
* @return \Symfony\Component\DependencyInjection\ContainerInterface
37-
*/
3835
protected function getContainer()
3936
{
4037
if (null === $this->container) {

Controller/Controller.php

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function generateUrl($route, $parameters = array(), $absolute = false)
5151
* @param array $path An array of path parameters
5252
* @param array $query An array of query parameters
5353
*
54-
* @return \Symfony\Component\HttpFoundation\Response A Response instance
54+
* @return Response A Response instance
5555
*/
5656
public function forward($controller, array $path = array(), array $query = array())
5757
{
@@ -64,7 +64,7 @@ public function forward($controller, array $path = array(), array $query = array
6464
* @param string $url The URL to redirect to
6565
* @param integer $status The status code to use for the Response
6666
*
67-
* @return \Symfony\Component\HttpFoundation\RedirectResponse
67+
* @return RedirectResponse
6868
*/
6969
public function redirect($url, $status = 302)
7070
{
@@ -89,9 +89,9 @@ public function renderView($view, array $parameters = array())
8989
*
9090
* @param string $view The view name
9191
* @param array $parameters An array of parameters to pass to the view
92-
* @param \Symfony\Component\HttpFoundation\Response $response A response instance
92+
* @param Response $response A response instance
9393
*
94-
* @return \Symfony\Component\HttpFoundation\Response A Response instance
94+
* @return Response A Response instance
9595
*/
9696
public function render($view, array $parameters = array(), Response $response = null)
9797
{
@@ -105,8 +105,6 @@ public function render($view, array $parameters = array(), Response $response =
105105
*
106106
* throw $this->createNotFoundException('Page not found!');
107107
*
108-
* @param string $message
109-
* @param \Exception|null $previous
110108
* @return NotFoundHttpException
111109
*/
112110
public function createNotFoundException($message = 'Not Found', \Exception $previous = null)
@@ -121,7 +119,7 @@ public function createNotFoundException($message = 'Not Found', \Exception $prev
121119
* @param mixed $data The initial data for the form
122120
* @param array $options Options for the form
123121
*
124-
* @return \Symfony\Component\Form\Form
122+
* @return Form
125123
*/
126124
public function createForm($type, $data = null, array $options = array())
127125
{
@@ -134,7 +132,7 @@ public function createForm($type, $data = null, array $options = array())
134132
* @param mixed $data The initial data for the form
135133
* @param array $options Options for the form
136134
*
137-
* @return \Symfony\Component\Form\FormBuilder
135+
* @return FormBuilder
138136
*/
139137
public function createFormBuilder($data = null, array $options = array())
140138
{
@@ -144,7 +142,7 @@ public function createFormBuilder($data = null, array $options = array())
144142
/**
145143
* Shortcut to return the request service.
146144
*
147-
* @return \Symfony\Component\HttpFoundation\Request
145+
* @return Request
148146
*/
149147
public function getRequest()
150148
{
@@ -154,7 +152,7 @@ public function getRequest()
154152
/**
155153
* Shortcut to return the Doctrine Registry service.
156154
*
157-
* @return \Symfony\Bundle\DoctrineBundle\Registry
155+
* @return Registry
158156
*
159157
* @throws \LogicException If DoctrineBundle is not available
160158
*/

Test/WebTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ abstract class WebTestCase extends \PHPUnit_Framework_TestCase
3232
* @param array $options An array of options to pass to the createKernel class
3333
* @param array $server An array of server parameters
3434
*
35-
* @return \Symfony\Bundle\FrameworkBundle\Client A Client instance
35+
* @return Client A Client instance
3636
*/
3737
static protected function createClient(array $options = array(), array $server = array())
3838
{

0 commit comments

Comments
 (0)