Skip to content

Commit 003e322

Browse files
Cleanup more @return annotations
1 parent 354b9d0 commit 003e322

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

AppVariable.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function getUser()
9191
/**
9292
* Returns the current request.
9393
*
94-
* @return Request|null The HTTP request object
94+
* @return Request|null
9595
*/
9696
public function getRequest()
9797
{
@@ -105,7 +105,7 @@ public function getRequest()
105105
/**
106106
* Returns the current session.
107107
*
108-
* @return Session|null The session
108+
* @return Session|null
109109
*/
110110
public function getSession()
111111
{
@@ -120,7 +120,7 @@ public function getSession()
120120
/**
121121
* Returns the current app environment.
122122
*
123-
* @return string The current environment string (e.g 'dev')
123+
* @return string
124124
*/
125125
public function getEnvironment()
126126
{
@@ -134,7 +134,7 @@ public function getEnvironment()
134134
/**
135135
* Returns the current app debug mode.
136136
*
137-
* @return bool The current debug mode
137+
* @return bool
138138
*/
139139
public function getDebug()
140140
{

Extension/CodeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function formatFile(string $file, int $line, string $text = null): string
175175
/**
176176
* Returns the link for a given file/line pair.
177177
*
178-
* @return string|false A link or false
178+
* @return string|false
179179
*/
180180
public function getFileLink(string $file, int $line)
181181
{

Extension/WorkflowExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function canTransition(object $subject, string $transitionName, string $n
5959
/**
6060
* Returns all enabled transitions.
6161
*
62-
* @return Transition[] All enabled transitions
62+
* @return Transition[]
6363
*/
6464
public function getEnabledTransitions(object $subject, string $name = null): array
6565
{

Form/TwigRendererEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function renderBlock(FormView $view, $resource, string $blockName, array
7070
*
7171
* @see getResourceForBlock()
7272
*
73-
* @return bool True if the resource could be loaded, false otherwise
73+
* @return bool
7474
*/
7575
protected function loadResourceForBlockName(string $cacheKey, FormView $view, string $blockName)
7676
{

0 commit comments

Comments
 (0)