8000 minor #21047 [Config] Improve PHPdoc / IDE autocomplete (ro0NL) · symfony/symfony@d85febc · GitHub
[go: up one dir, main page]

Skip to content

Commit d85febc

Browse files
minor #21047 [Config] Improve PHPdoc / IDE autocomplete (ro0NL)
This PR was merged into the 2.7 branch. Discussion ---------- [Config] Improve PHPdoc / IDE autocomplete | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes-ish | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #... <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!--highly recommended for new features--> The missing pieces for fixing the autocomplete in IDE's (tested in `PhpStorm 2016.3.2`). Each method seems to be found now for the framework bundle configuration 😱 Actually uses #20923 where needed, but i think we should go with it consistently. Relates to #20290 (comment) Commits ------- 3f3c6e0 [Config] Improve PHPdoc / IDE autocomplete
2 parents b4ed15a + 3f3c6e0 commit d85febc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Symfony/Component/Config/Definition/Builder/ExprBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public function thenUnset()
198198
/**
199199
* Returns the related node.
200200
*
201-
* @return NodeDefinition
201+
* @return NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition
202202
*
203203
* @throws \RuntimeException
204204
*/

src/Symfony/Component/Config/Definition/Builder/MergeBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function denyOverwrite($deny = true)
6363
/**
6464
* Returns the related node.
6565
*
66-
* @return NodeDefinition
66+
* @return NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition
6767
*/
6868
public function end()
6969
{

src/Symfony/Component/Config/Definition/Builder/NodeDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function attribute($key, $value)
107107
/**
108108
* Returns the parent node.
109109
*
110-
* @return NodeParentInterface|NodeBuilder|NodeDefinition|null The builder of the parent node
110+
* @return NodeParentInterface|NodeBuilder|NodeDefinition|ArrayNodeDefinition|VariableNodeDefiniti 95DF on|null The builder of the parent node
111111
*/
112112
public function end()
113113
{

src/Symfony/Component/Config/Definition/Builder/ValidationBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct(NodeDefinition $node)
3636
*
3737
* @param \Closure $closure
3838
*
39-
* @return ExprBuilder|ValidationBuilder
39+
* @return ExprBuilder|$this
4040
*/
4141
public function rule(\Closure $closure = null)
4242
{

0 commit comments

Comments
 (0)
0