Skip to content

Commit 3b19eba

Browse files
minor #18975 @throws annotations should go after @return (nicolas-grekas)
This PR was merged into the 2.7 branch. Discussion ---------- `@throws` annotations should go after `@return` | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- c854db7 `@throws` annotations should go after `@return`
2 parents 9f9bf9f + c854db7 commit 3b19eba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Expression/Expression.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ public function isGlob()
123123
}
124124

125125
/**
126-
* @throws \LogicException
127-
*
128126
* @return Glob
127+
*
128+
* @throws \LogicException
129129
*/
130130
public function getGlob()
131131
{

Finder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ public function useBestAdapter()
128128
*
129129
* @param string $name
130130
*
131-
* @throws \InvalidArgumentException
132-
*
133131
* @return Finder The current Finder instance
132+
*
133+
* @throws \InvalidArgumentException
134134
*/
135135
public function setAdapter($name)
136136
{

0 commit comments

Comments
 (0)