Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit21c14d3

Browse files
committed
fixed@return when returning this or static
1 parenta4ac1a7 commit21c14d3

File tree

95 files changed

+455
-455
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+455
-455
lines changed

‎src/Symfony/Bridge/Twig/NodeVisitor/Scope.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(Scope $parent = null)
4242
/**
4343
* Opens a new child scope.
4444
*
45-
* @returnScope
45+
* @returnself
4646
*/
4747
publicfunctionenter()
4848
{
@@ -52,7 +52,7 @@ public function enter()
5252
/**
5353
* Closes current scope and returns parent one.
5454
*
55-
* @returnScope|null
55+
* @returnself|null
5656
*/
5757
publicfunctionleave()
5858
{
@@ -67,7 +67,7 @@ public function leave()
6767
* @param string $key
6868
* @param mixed $value
6969
*
70-
* @returnScope Current scope
70+
* @return$this
7171
*
7272
* @throws \LogicException
7373
*/

‎src/Symfony/Component/BrowserKit/Cookie.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function __toString()
121121
* @param string $cookie A Set-Cookie header value
122122
* @param string $url The base URL
123123
*
124-
* @returnCookie A Cookie instance
124+
* @returnstatic
125125
*
126126
* @throws \InvalidArgumentException
127127
*/

‎src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function prototype($type)
8585
* If this function has been called and the node is not set during the finalization
8686
* phase, it's default value will be derived from its children default values.
8787
*
88-
* @returnArrayNodeDefinition
88+
* @return$this
8989
*/
9090
publicfunctionaddDefaultsIfNotSet()
9191
{
@@ -101,7 +101,7 @@ public function addDefaultsIfNotSet()
101101
*
102102
* This method is applicable to prototype nodes only.
103103
*
104-
* @returnArrayNodeDefinition
104+
* @return$this
105105
*/
106106
publicfunctionaddDefaultChildrenIfNoneSet($children =null)
107107
{
@@ -115,7 +115,7 @@ public function addDefaultChildrenIfNoneSet($children = null)
115115
*
116116
* This method is applicable to prototype nodes only.
117117
*
118-
* @returnArrayNodeDefinition
118+
* @return$this
119119
*/
120120
publicfunctionrequiresAtLeastOneElement()
121121
{
@@ -129,7 +129,7 @@ public function requiresAtLeastOneElement()
129129
*
130130
* If used all keys have to be defined in the same configuration file.
131131
*
132-
* @returnArrayNodeDefinition
132+
* @return$this
133133
*/
134134
publicfunctiondisallowNewKeysInSubsequentConfigs()
135135
{
@@ -144,7 +144,7 @@ public function disallowNewKeysInSubsequentConfigs()
144144
* @param string $singular The key to remap
145145
* @param string $plural The plural of the key for irregular plurals
146146
*
147-
* @returnArrayNodeDefinition
147+
* @return$this
148148
*/
149149
publicfunctionfixXmlConfig($singular,$plural =null)
150150
{
@@ -179,7 +179,7 @@ public function fixXmlConfig($singular, $plural = null)
179179
* @param string $name The name of the key
180180
* @param bool $removeKeyItem Whether or not the key item should be removed
181181
*
182-
* @returnArrayNodeDefinition
182+
* @return$this
183183
*/
184184
publicfunctionuseAttributeAsKey($name,$removeKeyItem =true)
185185
{
@@ -194,7 +194,7 @@ public function useAttributeAsKey($name, $removeKeyItem = true)
194194
*
195195
* @param bool $allow
196196
*
197-
* @returnArrayNodeDefinition
197+
* @return$this
198198
*/
199199
publicfunctioncanBeUnset($allow =true)
200200
{
@@ -216,7 +216,7 @@ public function canBeUnset($allow = true)
216216
* enableableArrayNode: {enabled: false, ...} # The config is disabled
217217
* enableableArrayNode: false # The config is disabled
218218
*
219-
* @returnArrayNodeDefinition
219+
* @return$this
220220
*/
221221
publicfunctioncanBeEnabled()
222222
{
@@ -246,7 +246,7 @@ public function canBeEnabled()
246246
*
247247
* By default, the section is enabled.
248248
*
249-
* @returnArrayNodeDefinition
249+
* @return$this
250250
*/
251251
publicfunctioncanBeDisabled()
252252
{
@@ -266,7 +266,7 @@ public function canBeDisabled()
266266
/**
267267
* Disables the deep merging of the node.
268268
*
269-
* @returnArrayNodeDefinition
269+
* @return$this
270270
*/
271271
publicfunctionperformNoDeepMerging()
272272
{
@@ -284,7 +284,7 @@ public function performNoDeepMerging()
284284
* you want to send an entire configuration array through a special
285285
* tree that processes only part of the array.
286286
*
287-
* @returnArrayNodeDefinition
287+
* @return$this
288288
*/
289289
publicfunctionignoreExtraKeys()
290290
{
@@ -298,7 +298,7 @@ public function ignoreExtraKeys()
298298
*
299299
* @param bool $bool Whether to enable key normalization
300300
*
301-
* @returnArrayNodeDefinition
301+
* @return$this
302302
*/
303303
publicfunctionnormalizeKeys($bool)
304304
{
@@ -320,7 +320,7 @@ public function normalizeKeys($bool)
320320
*
321321
* @param NodeDefinition $node A NodeDefinition instance
322322
*
323-
* @returnArrayNodeDefinition This node
323+
* @return$this
324324
*/
325325
publicfunctionappend(NodeDefinition$node)
326326
{

‎src/Symfony/Component/Config/Definition/Builder/EnumNodeDefinition.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class EnumNodeDefinition extends ScalarNodeDefinition
2525
/**
2626
* @param array $values
2727
*
28-
* @returnEnumNodeDefinition|$this
28+
* @return $this
2929
*/
3030
publicfunctionvalues(array$values)
3131
{

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(NodeDefinition $node)
4040
*
4141
* @param \Closure $then
4242
*
43-
* @returnExprBuilder
43+
* @return$this
4444
*/
4545
publicfunctionalways(\Closure$then =null)
4646
{
@@ -60,7 +60,7 @@ public function always(\Closure $then = null)
6060
*
6161
* @param \Closure $closure
6262
*
63-
* @returnExprBuilder
63+
* @return$this
6464
*/
6565
publicfunctionifTrue(\Closure$closure =null)
6666
{
@@ -76,7 +76,7 @@ public function ifTrue(\Closure $closure = null)
7676
/**
7777
* Tests if the value is a string.
7878
*
79-
* @returnExprBuilder
79+
* @return$this
8080
*/
8181
publicfunctionifString()
8282
{
@@ -88,7 +88,7 @@ public function ifString()
8888
/**
8989
* Tests if the value is null.
9090
*
91-
* @returnExprBuilder
91+
* @return$this
9292
*/
9393
publicfunctionifNull()
9494
{
@@ -100,7 +100,7 @@ public function ifNull()
100100
/**
101101
* Tests if the value is an array.
102102
*
103-
* @returnExprBuilder
103+
* @return$this
104104
*/
105105
publicfunctionifArray()
106106
{
@@ -114,7 +114,7 @@ public function ifArray()
114114
*
115115
* @param array $array
116116
*
117-
* @returnExprBuilder
117+
* @return$this
118118
*/
119119
publicfunctionifInArray(array$array)
120120
{
@@ -128,7 +128,7 @@ public function ifInArray(array $array)
128128
*
129129
* @param array $array
130130
*
131-
* @returnExprBuilder
131+
* @return$this
132132
*/
133133
publicfunctionifNotInArray(array$array)
134134
{
@@ -142,7 +142,7 @@ public function ifNotInArray(array $array)
142142
*
143143
* @param \Closure $closure
144144
*
145-
* @returnExprBuilder
145+
* @return$this
146146
*/
147147
publicfunctionthen(\Closure$closure)
148148
{
@@ -154,7 +154,7 @@ public function then(\Closure $closure)
154154
/**
155155
* Sets a closure returning an empty array.
156156
*
157-
* @returnExprBuilder
157+
* @return$this
158158
*/
159159
publicfunctionthenEmptyArray()
160160
{
@@ -170,7 +170,7 @@ public function thenEmptyArray()
170170
*
171171
* @param string $message
172172
*
173-
* @returnExprBuilder
173+
* @return$this
174174
*
175175
* @throws \InvalidArgumentException
176176
*/
@@ -184,7 +184,7 @@ public function thenInvalid($message)
184184
/**
185185
* Sets a closure unsetting this key of the array at validation time.
186186
*
187-
* @returnExprBuilder
187+
* @return$this
188188
*
189189
* @throws UnsetKeyException
190190
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(NodeDefinition $node)
3737
*
3838
* @param bool $allow
3939
*
40-
* @returnMergeBuilder
40+
* @return$this
4141
*/
4242
publicfunctionallowUnset($allow =true)
4343
{
@@ -51,7 +51,7 @@ public function allowUnset($allow = true)
5151
*
5252
* @param bool $deny Whether the overwriting is forbidden or not
5353
*
54-
* @returnMergeBuilder
54+
* @return$this
5555
*/
5656
publicfunctiondenyOverwrite($deny =true)
5757
{

‎src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct()
4242
*
4343
* @param ParentNodeDefinitionInterface $parent The parent node
4444
*
45-
* @returnNodeBuilder This node builder
45+
* @return$this
4646
*/
4747
publicfunctionsetParent(ParentNodeDefinitionInterface$parent =null)
4848
{
@@ -182,7 +182,7 @@ public function node($name, $type)
182182
*
183183
* @param NodeDefinition $node
184184
*
185-
* @returnNodeBuilder This node builder
185+
* @return$this
186186
*/
187187
publicfunctionappend(NodeDefinition$node)
188188
{
@@ -207,7 +207,7 @@ public function append(NodeDefinition $node)
207207
* @param string $type The name of the type
208208
* @param string $class The fully qualified name the node definition class
209209
*
210-
* @returnNodeBuilder This node builder
210+
* @return$this
211211
*/
212212
publicfunctionsetNodeClass($type,$class)
213213
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp