Skip to content

Commit 9a0b264

Browse files
Merge branch '2.7' into 2.8
* 2.7: `@throws` annotations should go after `@return` Fix merge updated VERSION for 2.3.42 update CONTRIBUTORS for 2.3.42 updated CHANGELOG for 2.3.42 Revert "bug #18908 [DependencyInjection] force enabling the external XML entity loaders (xabbuh)" Partial revert of previous PR [DependencyInjection] Skip deep reference check for 'service_container' Catch \Throwable [Serializer] Add missing @throws annotations Fix for #18843 force enabling the external XML entity loaders Removed UTC specification with timestamp Conflicts: src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php src/Symfony/Component/Finder/Finder.php src/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.php src/Symfony/Component/Security/Acl/Domain/ObjectIdentity.php src/Symfony/Component/Security/Acl/Model/AclInterface.php src/Symfony/Component/Security/Acl/Model/MutableAclProviderInterface.php src/Symfony/Component/Security/Acl/Permission/MaskBuilder.php src/Symfony/Component/Translation/Loader/XliffFileLoader.php src/Symfony/Component/Yaml/Tests/InlineTest.php
2 parents 07b7ced + d255e42 commit 9a0b264

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

Parser/Parser.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public function parse($source)
5858
*
5959
* @param Token[] $tokens
6060
*
61-
* @throws SyntaxErrorException
62-
*
6361
* @return array
62+
*
63+
* @throws SyntaxErrorException
6464
*/
6565
public static function parseSeries(array $tokens)
6666
{
@@ -133,9 +133,9 @@ private function parseSelectorList(TokenStream $stream)
133133
*
134134
* @param TokenStream $stream
135135
*
136-
* @throws SyntaxErrorException
137-
*
138136
* @return Node\SelectorNode
137+
*
138+
* @throws SyntaxErrorException
139139
*/
140140
private function parserSelectorNode(TokenStream $stream)
141141
{
@@ -173,9 +173,9 @@ private function parserSelectorNode(TokenStream $stream)
173173
* @param TokenStream $stream
174174
* @param bool $insideNegation
175175
*
176-
* @throws SyntaxErrorException
177-
*
178176
* @return array
177+
*
178+
* @throws SyntaxErrorException
179179
*/
180180
private function parseSimpleSelector(TokenStream $stream, $insideNegation = false)
181181
{
@@ -330,9 +330,9 @@ private function parseElementNode(TokenStream $stream)
330330
* @param Node\NodeInterface $selector
331331
* @param TokenStream $stream
332332
*
333-
* @throws SyntaxErrorException
334-
*
335333
* @return Node\AttributeNode
334+
*
335+
* @throws SyntaxErrorException
336336
*/
337337
private function parseAttributeNode(Node\NodeInterface $selector, TokenStream $stream)
338338
{

Parser/TokenStream.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ public function freeze()
8585
/**
8686
* Returns next token.
8787
*
88-
* @throws InternalErrorException If there is no more token
89-
*
9088
* @return Token
89+
*
90+
* @throws InternalErrorException If there is no more token
9191
*/
9292
public function getNext()
9393
{
@@ -133,9 +133,9 @@ public function getUsed()
133133
/**
134134
* Returns nex identifier token.
135135
*
136-
* @throws SyntaxErrorException If next token is not an identifier
137-
*
138136
* @return string The identifier token value
137+
*
138+
* @throws SyntaxErrorException If next token is not an identifier
139139
*/
140140
public function getNextIdentifier()
141141
{
@@ -151,9 +151,9 @@ public function getNextIdentifier()
151151
/**
152152
* Returns nex identifier or star delimiter token.
153153
*
154-
* @throws SyntaxErrorException If next token is not an identifier or a star delimiter
155-
*
156154
* @return null|string The identifier token value or null if star found
155+
*
156+
* @throws SyntaxErrorException If next token is not an identifier or a star delimiter
157157
*/
158158
public function getNextIdentifierOrStar()
159159
{

XPath/Translator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@ public function addPseudoClass(XPathExpr $xpath, $pseudoClass)
268268
* @param string $attribute
269269
* @param string $value
270270
*
271-
* @throws ExpressionErrorException
272-
*
273271
* @return XPathExpr
272+
*
273+
* @throws ExpressionErrorException
274274
*/
275275
public function addAttributeMatching(XPathExpr $xpath, $operator, $attribute, $value)
276276
{

0 commit comments

Comments
 (0)