8000 fixed CS · symfony/symfony@a434e7b · GitHub
[go: up one dir, main page]

Skip to content

Commit a434e7b

Browse files
committed
fixed CS
1 parent 6bed60b commit a434e7b

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

src/Symfony/Bridge/PhpUnit/DnsMock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class DnsMock
3535
/**
3636
* Configures the mock values for DNS queries.
3737
*
38-
* @param array $hosts Mocked hosts as keys, arrays of DNS records as returned by dns_get_record() as values.
38+
* @param array $hosts Mocked hosts as keys, arrays of DNS records as returned by dns_get_record() as values
3939
*/
4040
public static function withMockedHosts(array $hosts)
4141
{

src/Symfony/Component/Cache/Adapter/AbstractAdapter.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,46 +89,46 @@ public static function createSystemCache($namespace, $defaultLifetime, $version,
8989
/**
9090
* Fetches several cache items.
9191
*
92-
* @param array $ids The cache identifiers to fetch.
92+
* @param array $ids The cache identifiers to fetch
9393
*
94-
* @return array|\Traversable The corresponding values found in the cache.
94+
* @return array|\Traversable The corresponding values found in the cache
9595
*/
9696
abstract protected function doFetch(array $ids);
9797

9898
/**
9999
* Confirms if the cache contains specified cache item.
100100
*
101-
* @param string $id The identifier for which to check existence.
101+
* @param string $id The identifier for which to check existence
102102
*
103-
* @return bool True if item exists in the cache, false otherwise.
103+
* @return bool True if item exists in the cache, false otherwise
104104
*/
105105
abstract protected function doHave($id);
106106

107107
/**
108108
* Deletes all items in the pool.
109109
*
110-
* @param string The prefix used for all identifiers managed by this pool.
110+
* @param string The prefix used for all identifiers managed by this pool
111111
*
112-
* @return bool True if the pool was successfully cleared, false otherwise.
112+
* @return bool True if the pool was successfully cleared, false otherwise
113113
*/
114114
abstract protected function doClear($namespace);
115115

116116
/**
117117
* Removes multiple items from the pool.
118118
*
119-
* @param array $ids An array of identifiers that should be removed from the pool.
119+
* @param array $ids An array of identifiers that should be removed from the pool
120120
*
121-
* @return bool True if the items were successfully removed, false otherwise.
121+
* @return bool True if the items were successfully removed, false otherwise
122122
*/
123123
abstract protected function doDelete(array $ids);
124124

125125
/**
126126
* Persists several cache items immediately.
127127
*
128-
* @param array $values The values to cache, indexed by their cache identifier.
129-
* @param int $lifetime The lifetime of the cached values, 0 for persisting until manual cleaning.
128+
* @param array $values The values to cache, indexed by their cache identifier
129+
* @param int $lifetime The lifetime of the cached values, 0 for persisting until manual cleaning
130130
*
131-
* @return array|bool The identifiers that failed to be cached or a boolean stating if caching succeeded or not.
131+
* @return array|bool The identifiers that failed to be cached or a boolean stating if caching succeeded or not
132132
*/
133133
abstract protected function doSave(array $values, $lifetime);
134134

src/Symfony/Component/Cache/Adapter/ArrayAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ArrayAdapter implements AdapterInterface, LoggerAwareInterface
3030

3131
/**
3232
* @param int $defaultLifetime
33-
* @param bool $storeSerialized Disabling serialization can lead to cache corruptions when storing mutable values but increases performance otherwise.
33+
* @param bool $storeSerialized Disabling serialization can lead to cache corruptions when storing mutable values but increases performance otherwise
3434
*/
3535
public function __construct($defaultLifetime = 0, $storeSerialized = true)
3636
{

src/Symfony/Component/Cache/Adapter/RedisAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct($redisClient, $namespace = '', $defaultLifetime = 0)
6262
*
6363
* @throws InvalidArgumentException When the DSN is invalid.
6464
*
65-
* @return \Redis|\Predis\Client According to the "class" option.
65+
* @return \Redis|\Predis\Client According to the "class" option
6666
*/
6767
public static function createConnection($dsn, array $options = array())
6868
{

src/Symfony/Component/Cache/CacheItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function expiresAfter($time)
9999
/**
100100
* Validates a cache key according to PSR-6.
101101
*
102-
* @param string $key The key to validate.
102+
* @param string $key The key to validate
103103
*
104104
* @throws InvalidArgumentException When $key is not valid.
105105
*/

src/Symfony/Component/DependencyInjection/LazyProxy/PhpDumper/DumperInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function isProxyCandidate(Definition $definition);
3434
*
3535
* @param Definition $definition
3636
* @param string $id service identifier
37-
* @param string $methodName the method name to get the service, will be added to the interface in 4.0.
37+
* @param string $methodName the method name to get the service, will be added to the interface in 4.0
3838
*
3939
* @return string
4040
*/

src/Symfony/Component/HttpKernel/ControllerMetadata/ArgumentMetadataFactoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
interface ArgumentMetadataFactoryInterface
2020
{
2121
/**
22-
* @param mixed $controller The controller to resolve the arguments for.
22+
* @param mixed $controller The controller to resolve the arguments for
2323
*
2424
* @return ArgumentMetadata[]
2525
*/

src/Symfony/Component/HttpKernel/Exception/HttpException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function getHeaders()
4242
/**
4343
* Set response headers.
4444
*
45-
* @param array $headers Response headers.
45+
* @param array $headers Response headers
4646
*/
4747
public function setHeaders(array $headers)
4848
{

src/Symfony/Component/HttpKernel/Tests/Exception/UnprocessableEntityHttpExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class UnprocessableEntityHttpExceptionTest extends HttpExceptionTest
1010
* Test that setting the headers using the setter function
1111
* is working as expected.
1212
*
13-
* @param array $headers The headers to set.
13+
* @param array $headers The headers to set
1414
*
1515
* @dataProvider headerDataProvider
1616
*/

src/Symfony/Component/Process/Process.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ public function getIncrementalOutput()
508508
/**
509509
* Returns an iterator to the output of the process, with the output type as keys (Process::OUT/ERR).
510510
*
511-
* @param int $flags A bit field of Process::ITER_* flags.
511+
* @param int $flags A bit field of Process::ITER_* flags
512512
*
513513
* @throws LogicException in case the output has been disabled
514514
* @throws LogicException In case the process is not started
@@ -1348,7 +1348,7 @@ protected function isSigchildEnabled()
13481348
* Reads pipes for the freshest output.
13491349
*
13501350
* @param string $caller The name of the method that needs fresh outputs
1351-
* @param bool $blocking Whether to use blocking calls or not.
1351+
* @param bool $blocking Whether to use blocking calls or not
13521352
*
13531353
* @throws LogicException in case output has been disabled or process is not started
13541354
*/

0 commit comments

Comments
 (0)
0