Skip to content

Commit 79a06fc

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: fixed typo Revert "fixed typo" fixed typo fixed CS Avoid setting request attributes from signature arguments in AnnotationClassLoader [DependencyInjection] Add some missing typehints in YamlFileLoader [DependencyInjection] minor: Fix a DocBlock [HttpKernel] Give higher priority to adding request formats [FrameworkBundle] Fix third level headers for MarkdownDescriptor [TwigBundle] do not lose already set method calls #20411 fix Yaml parsing for very long quoted strings CS: apply is_null DX: remove invalid inheritdoc bumped Symfony version to 2.7.24 updated VERSION for 2.7.23 update CONTRIBUTORS for 2.7.23 updated CHANGELOG for 2.7.23 [FrameworkBundle] Skip test if xdebug.file_link_format is defined.
2 parents b753566 + 94c4a78 commit 79a06fc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Definition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public function setDecoratedService($id, $renamedId = null, $priority = 0)
164164
}
165165

166166
/**
167-
* Gets the service that decorates this service.
167+
* Gets the service that this service is decorating.
168168
*
169169
* @return null|array An array composed of the decorated service id, the new id for it and the priority of decoration, null if no service is decorated
170170
*/

Loader/YamlFileLoader.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function supports($resource, $type = null)
8585
* @param array $content
8686
* @param string $file
8787
*/
88-
private function parseImports($content, $file)
88+
private function parseImports(array $content, $file)
8989
{
9090
if (!isset($content['imports'])) {
9191
return;
@@ -112,7 +112,7 @@ private function parseImports($content, $file)
112112
* @param array $content
113113
* @param string $file
114114
*/
115-
private function parseDefinitions($content, $file)
115+
private function parseDefinitions(array $content, $file)
116116
{
117117
if (!isset($content['services'])) {
118118
return;
@@ -130,9 +130,9 @@ private function parseDefinitions($content, $file)
130130
/**
131131
* Parses a definition.
132132
*
133-
* @param string $id
134-
* @param array $service
135-
* @param string $file
133+
* @param string $id
134+
* @param array|string $service
135+
* @param string $file
136136
*
137137
* @throws InvalidArgumentException When tags are invalid
138138
*/
@@ -454,7 +454,7 @@ private function resolveServices($value)
454454
*
455455
* @param array $content
456456
*/
457-
private function loadFromExtensions($content)
457+
private function loadFromExtensions(array $content)
458458
{
459459
foreach ($content as $namespace => $values) {
460460
if (in_array($namespace, array('imports', 'parameters', 'services'))) {

0 commit comments

Comments
 (0)