Skip to content

Commit 26fe34d

Browse files
Merge branch '3.4' into 4.1
* 3.4: [php_cs] disable fopen_flags [DI] fix error in dumped container [CS] Remove unused variables passed to closures [DI] fix dumping setters before their inlined instances [CS] Remove empty comment [CS] Enforces null type hint on last position in phpDocs [CS] Use combined assignment operators when possible Fix a typo in error messages Don't return early as this bypasses the auto exit feature [Console] Add missing null to input values allowed types [PHPUnitBridge] Fix microtime() format bumped Symfony version to 3.4.17 updated VERSION for 3.4.16 updated CHANGELOG for 3.4.16 bumped Symfony version to 2.8.47 update CONTRIBUTORS for 2.8.46 updated VERSION for 2.8.46 updated CHANGELOG for 2.8.46
2 parents 9ac515b + 2468fb6 commit 26fe34d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Node/ElementNode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ public function __construct(string $namespace = null, string $element = null)
3737
}
3838

3939
/**
40-
* @return null|string
40+
* @return string|null
4141
*/
4242
public function getNamespace()
4343
{
4444
return $this->namespace;
4545
}
4646

4747
/**
48-
* @return null|string
48+
* @return string|null
4949
*/
5050
public function getElement()
5151
{

Parser/TokenStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function getNextIdentifier()
142142
/**
143143
* Returns nex identifier or star delimiter token.
144144
*
145-
* @return null|string The identifier token value or null if star found
145+
* @return string|null The identifier token value or null if star found
146146
*
147147
* @throws SyntaxErrorException If next token is not an identifier or a star delimiter
148148
*/

0 commit comments

Comments
 (0)