Skip to content

Commit e957611

Browse files
committed
fixes CS
1 parent 1007c39 commit e957611

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

ConfigCache.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function __construct($file, $debug)
4242
* Gets the cache file path.
4343
*
4444
* @return string The cache file path
45+
*
4546
* @deprecated since 2.7, to be removed in 3.0. Use getPath() instead.
4647
*/
4748
public function __toString()

ConfigCacheFactoryInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ interface ConfigCacheFactoryInterface
2323
/**
2424
* Creates a cache instance and (re-)initializes it if necessary.
2525
*
26-
* @param string $file The absolute cache file path
27-
* @param callable $callable The callable to be executed when the cache needs to be filled (i. e. is not fresh). The cache will be passed as the only parameter to this callback
26+
* @param string $file The absolute cache file path
27+
* @param callable $callable The callable to be executed when the cache needs to be filled (i. e. is not fresh). The cache will be passed as the only parameter to this callback
2828
*
2929
* @return ConfigCacheInterface $configCache The cache instance
3030
*/

ConfigCacheInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Symfony\Component\Config\Resource\ResourceInterface;
1515

1616
/**
17-
* Interface for ConfigCache
17+
* Interface for ConfigCache.
1818
*
1919
* @author Matthias Pigulla <[email protected]>
2020
*/

Definition/Dumper/XmlReferenceDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ private function writeNode(NodeInterface $node, $depth = 0, $root = false, $name
247247
}
248248

249249
/**
250-
* Outputs a single config reference line
250+
* Outputs a single config reference line.
251251
*
252252
* @param string $text
253253
* @param int $indent

Definition/Dumper/YamlReferenceDumper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private function writeNode(NodeInterface $node, $depth = 0)
125125
if ($info = $node->getInfo()) {
126126
$this->writeLine('');
127127
// indenting multi-line info
128-
$info = str_replace("\n", sprintf("\n%".($depth * 4)."s# ", ' '), $info);
128+
$info = str_replace("\n", sprintf("\n%".($depth * 4).'s# ', ' '), $info);
129129
$this->writeLine('# '.$info, $depth * 4);
130130
}
131131

@@ -160,7 +160,7 @@ private function writeNode(NodeInterface $node, $depth = 0)
160160
}
161161

162162
/**
163-
* Outputs a single config reference line
163+
* Outputs a single config reference line.
164164
*
165165
* @param string $text
166166
* @param int $indent

0 commit comments

Comments
 (0)