8000 fix cs · symfony/symfony@f103b6b · GitHub
[go: up one dir, main page]

Skip to content

Commit f103b6b

Browse files
fix cs
1 parent 3652763 commit f103b6b

20 files changed

+24
-24
lines changed

src/Symfony/Component/Cache/Traits/AbstractTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ abstract protected function doHave($id);
5454
/**
5555
* Deletes all items in the pool.
5656
*
57-
* @param string The prefix used for all identifiers managed by this pool
57+
* @param string $namespace The prefix used for all identifiers managed by this pool
5858
*
5959
* @return bool True if the pool was successfully cleared, false otherwise
6060
*/

src/Symfony/Component/Cache/Traits/MemcachedTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ private function init(\Memcached $client, $namespace, $defaultLifetime)
6666
* - 'memcached://user:pass@localhost?weight=33'
6767
* - array(array('localhost', 11211, 33))
6868
*
69-
* @param array[]|string|string[] An array of servers, a DSN, or an array of DSNs
70-
* @param array An array of options
69+
* @param array[]|string|string[] $servers An array of servers, a DSN, or an array of DSNs
70+
* @param array $options An array of options
7171
*
7272
* @return \Memcached
7373
*

src/Symfony/Component/DependencyInjection/Definition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ public function getMethodCalls()
400400
/**
401401
* Sets the definition templates to conditionally apply on the current definition, keyed by parent interface/class.
402402
*
403-
* @param $instanceof ChildDefinition[]
403+
* @param ChildDefinition[] $instanceof
404404
*
405405
* @return $this
406406
*/

src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Lines changed: 1 addition & 1 deletion
*
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ public function getParameterBag()
13671367
/*{$this->docStar}
13681368
* Computes a dynamic parameter.
13691369
*
1370-
* @param string The name of the dynamic parameter to load
1370+
* @param string \$name The name of the dynamic parameter to load
13711371
*
13721372
* @return mixed The value of the dynamic parameter
13731373

src/Symfony/Component/DependencyInjection/Loader/Configurator/Traits/LazyTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ trait LazyTrait
1616
/**
1717
* Sets the lazy flag of this service.
1818
*
19-
* @param bool $lazy
19+
* @param bool|string $lazy A FQCN to derivate the lazy proxy from or `true` to make it extend from the definition's class
2020
*
2121
* @return $this
2222
*/

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function getParameterBag()
115115
/**
116116
* Computes a dynamic parameter.
117117
*
118-
* @param string The name of the dynamic parameter to load
118+
* @param string $name The name of the dynamic parameter to load
119119
*
120120
* @return mixed The value of the dynamic parameter
121121
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services12.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public function getParameterBag()
122122
/**
123123
* Computes a dynamic parameter.
124124
*
125-
* @param string The name of the dynamic parameter to load
125+
* @param string $name The name of the dynamic parameter to load
126126
*
127127
* @return mixed The value of the dynamic parameter
128128
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services19.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function getParameterBag()
132132
/**
133133
* Computes a dynamic parameter.
134134
*
135-
* @param string The name of the dynamic parameter to load
135+
* @param string $name The name of the dynamic parameter to load
136136
*
137137
* @return mixed The value of the dynamic parameter
138138
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services26.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function getParameterBag()
138138
/**
139139
* Computes a dynamic parameter.
140140
*
141-
* @param string The name of the dynamic parameter to load
141+
* @param string $name The name of the dynamic parameter to load
142142
*
143143
* @return mixed The value of the dynamic parameter
144144
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services8.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function getParameterBag()
102102
/**
103103
* Computes a dynamic parameter.
104104
*
105-
* @param string The name of the dynamic parameter to load
105+
* @param string $name The name of the dynamic parameter to load
106106
*
107107
* @return mixed The value of the dynamic parameter
108108
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_as_files.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ class ProjectServiceContainer extends Container
441441
/**
442442
* Computes a dynamic parameter.
443443
*
444-
* @param string The name of the dynamic parameter to load
444+
* @param string $name The name of the dynamic parameter to load
445445
*
446446
* @return mixed The value of the dynamic parameter
447447
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ public function getParameterBag()
432432
/**
433433
* Computes a dynamic parameter.
434434
*
435-
* @param string The name of the dynamic parameter to load
435+
* @param string $name The name of the dynamic parameter to load
436436
*
437437
* @return mixed The value of the dynamic parameter
438438
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_array_params.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function getParameterBag()
125125
/**
126126
* Computes a dynamic parameter.
127127
*
128-
* @param string The name of the dynamic parameter to load
128+
* @param string $name The name of the dynamic parameter to load
129129
*
130130
* @return mixed The value of the dynamic parameter
131131
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_base64_env.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function getParameterBag()
104104
/**
105105
* Computes a dynamic parameter.
106106
*
107-
* @param string The name of the dynamic parameter to load
107+
* @param string $name The name of the dynamic parameter to load
108108
*
109109
* @return mixed The value of the dynamic parameter
110110
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_env_in_id.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function getParameterBag()
145145
/**
146146
* Computes a dynamic parameter.
147147
*
148-
* @param string The name of the dynamic parameter to load
148+
* @param string $name The name of the dynamic parameter to load
149149
*
150150
* @return mixed The value of the dynamic parameter
151151
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_inline_requires.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function getParameterBag()
174174
/**
175175
* Computes a dynamic parameter.
176176
*
177-
* @param string The name of the dynamic parameter to load
177+
* @param string $name The name of the dynamic parameter to load
178178
*
179179
* @return mixed The value of the dynamic parameter
180180
*

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_rot13_env.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function getParameterBag()
133133
/**
134134
* Computes a dynamic parameter.
135135
*
136-
* @param string The name of the dynamic parameter to load
136+
* @param string $name The name of the dynamic parameter to load
137137
*
138138
* @return mixed The value of the dynamic parameter
139139
*

src/Symfony/Component/Ldap/Entry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function getDn()
3838
/**
3939
* Returns whether an attribute exists.
4040
*
41-
* @param $name string The name of the attribute
41+
* @param string $name The name of the attribute
4242
*
4343
* @return bool
4444
*/
@@ -53,7 +53,7 @@ public function hasAttribute($name)
5353
* As LDAP can return multiple values for a single attribute,
5454
* this value is returned as an array.
5555
*
56-
* @param $name string The name of the attribute
56+
* @param string $name The name of the attribute
5757
*
5858
* @return array|null
5959
*/

src/Symfony/Component/Process/InputStream.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public function onEmpty(callable $onEmpty = null)
3636
/**
3737
* Appends an input to the write buffer.
3838
*
39-
* @param resource|string|int|float|bool|\Traversable|null The input to append as scalar,
40-
* stream resource or \Traversable
39+
* @param resource|string|int|float|bool|\Traversable|null $input The input to append as scalar,
40+
* stream resource or \Traversable
4141
*/
4242
public function write($input)
4343
{

src/Symfony/Component/VarDumper/Caster/ClassStub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
class ClassStub extends ConstStub
2020
{
2121
/**
22-
* @param string A PHP identifier, e.g. a class, method, interface, etc. name
23-
* @param callable The callable targeted by the identifier when it is ambiguous or not a real PHP identifier
22+
* @param string $identifier A PHP identifier, e.g. a class, method, interface, etc. name
23+
* @param callable $callable The callable targeted by the identifier when it is ambiguous or not a real PHP identifier
2424
*/
2525
public function __construct($identifier, $callable = null)
2626
{

0 commit comments

Comments
 (0)
0