Skip to content

Commit c296036

Browse files
Cleanup more @return annotations
1 parent 7fc1c5e commit c296036

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Compiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function getFunction(string $name)
3636
/**
3737
* Gets the current PHP code after compilation.
3838
*
39-
* @return string The PHP code
39+
* @return string
4040
*/
4141
public function getSource()
4242
{

Expression.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(string $expression)
2828
/**
2929
* Gets the expression.
3030
*
31-
* @return string The expression
31+
* @return string
3232
*/
3333
public function __toString()
3434
{

ExpressionLanguage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(CacheItemPoolInterface $cache = null, array $provide
4848
*
4949
* @param Expression|string $expression The expression to compile
5050
*
51-
* @return string The compiled PHP source code
51+
* @return string
5252
*/
5353
public function compile($expression, array $names = [])
5454
{
@@ -60,7 +60,7 @@ public function compile($expression, array $names = [])
6060
*
6161
* @param Expression|string $expression The expression to compile
6262
*
63-
* @return mixed The result of the evaluation of the expression
63+
* @return mixed
6464
*/
6565
public function evaluate($expression, array $values = [])
6666
{

Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function __construct(array $functions)
8686
* variable 'container' can be used in the expression
8787
* but the compiled code will use 'this'.
8888
*
89-
* @return Node\Node A node tree
89+
* @return Node\Node
9090
*
9191
* @throws SyntaxError
9292
*/

Token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(string $type, $value, ?int $cursor)
4444
/**
4545
* Returns a string representation of the token.
4646
*
47-
* @return string A string representation of the token
47+
* @return string
4848
*/
4949
public function __toString()
5050
{

0 commit comments

Comments
 (0)