@@ -51,7 +51,7 @@ public function generateUrl($route, $parameters = array(), $absolute = false)
51
51
* @param array $path An array of path parameters
52
52
* @param array $query An array of query parameters
53
53
*
54
- * @return \Symfony\Component\HttpFoundation\ Response A Response instance
54
+ * @return Response A Response instance
55
55
*/
56
56
public function forward ($ controller , array $ path = array (), array $ query = array ())
57
57
{
@@ -64,7 +64,7 @@ public function forward($controller, array $path = array(), array $query = array
64
64
* @param string $url The URL to redirect to
65
65
* @param integer $status The status code to use for the Response
66
66
*
67
- * @return \Symfony\Component\HttpFoundation\ RedirectResponse
67
+ * @return RedirectResponse
68
68
*/
69
69
public function redirect ($ url , $ status = 302 )
70
70
{
@@ -89,9 +89,9 @@ public function renderView($view, array $parameters = array())
89
89
*
90
90
* @param string $view The view name
91
91
* @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
93
93
*
94
- * @return \Symfony\Component\HttpFoundation\ Response A Response instance
94
+ * @return Response A Response instance
95
95
*/
96
96
public function render ($ view , array $ parameters = array (), Response $ response = null )
97
97
{
@@ -105,8 +105,6 @@ public function render($view, array $parameters = array(), Response $response =
105
105
*
106
106
* throw $this->createNotFoundException('Page not found!');
107
107
*
108
- * @param string $message
109
- * @param \Exception|null $previous
110
108
* @return NotFoundHttpException
111
109
*/
112
110
public function createNotFoundException ($ message = 'Not Found ' , \Exception $ previous = null )
@@ -121,7 +119,7 @@ public function createNotFoundException($message = 'Not Found', \Exception $prev
121
119
* @param mixed $data The initial data for the form
122
120
* @param array $options Options for the form
123
121
*
124
- * @return \Symfony\Component\Form\ Form
122
+ * @return Form
125
123
*/
126
124
public function createForm ($ type , $ data = null , array $ options = array ())
127
125
{
@@ -134,7 +132,7 @@ public function createForm($type, $data = null, array $options = array())
134
132
* @param mixed $data The initial data for the form
135
133
* @param array $options Options for the form
136
134
*
137
- * @return \Symfony\Component\Form\ FormBuilder
135
+ * @return FormBuilder
138
136
*/
139
137
public function createFormBuilder ($ data = null , array $ options = array ())
140
138
{
@@ -144,7 +142,7 @@ public function createFormBuilder($data = null, array $options = array())
144
142
/**
145
143
* Shortcut to return the request service.
146
144
*
147
- * @return \Symfony\Component\HttpFoundation\ Request
145
+ * @return Request
148
146
*/
149
147
public function getRequest ()
150
148
{
@@ -154,7 +152,7 @@ public function getRequest()
154
152
/**
155
153
* Shortcut to return the Doctrine Registry service.
156
154
*
157
- * @return \Symfony\Bundle\DoctrineBundle\ Registry
155
+ * @return Registry
158
156
*
159
157
* @throws \LogicException If DoctrineBundle is not available
160
158
*/
0 commit comments