Skip to content

Commit d7c4fd8

Browse files
committed
Merge branch '3.2'
* 3.2: (40 commits) fixed CS fixed CS fixed CS fixer config 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 [Cache] Fix tags expiration [PhpUnit] Blacklist DeprecationErrorHandler in stack traces [PropertyInfo] Don't try to access a property thru a static method [PropertyInfo] Exclude static methods form properties guessing [Workflow] Added new validator to make sure each place has unique translation names [Cache] [PdoAdapter] Fix MySQL 1170 error (blob as primary key) [FrameworkBundle] Fix third level headers for MarkdownDescriptor [Ldap] Using Ldap stored username instead of form submitted one [Ldap] load users with the good username case ...
2 parents c56b8bc + 2227a28 commit d7c4fd8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Definition.php

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

108108
/**
109-
* Gets the service that decorates this service.
109+
* Gets the service that this service is decorating.
110110
*
111111
* @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
112112
*/

Loader/YamlFileLoader.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function supports($resource, $type = null)
121121
* @param array $content
122122
* @param string $file
123123
*/
124-
private function parseImports($content, $file)
124+
private function parseImports(array $content, $file)
125125
{
126126
if (!isset($content['imports'])) {
127127
return;
@@ -148,7 +148,7 @@ private function parseImports($content, $file)
148148
* @param array $content
149149
* @param string $file
150150
*/
151-
private function parseDefinitions($content, $file)
151+
private function parseDefinitions(array $content, $file)
152152
{
153153
if (!isset($content['services'])) {
154154
return;
@@ -229,10 +229,10 @@ private function parseDefaults(array &$content, $file)
229229
/**
230230
* Parses a definition.
231231
*
232-
* @param string $id
233-
* @param array $service
234-
* @param string $file
235-
* @param array $defaults
232+
* @param string $id
233+
* @param array|string $service
234+
* @param string $file
235+
* @param array $defaults
236236
*
237237
* @throws InvalidArgumentException When tags are invalid
238238
*/
@@ -615,7 +615,7 @@ private function resolveServices($value)
615615
*
616616
* @param array $content
617617
*/
618-
private function loadFromExtensions($content)
618+
private function loadFromExtensions(array $content)
619619
{
620620
foreach ($content as $namespace => $values) {
621621
if (in_array($namespace, array('imports', 'parameters', 'services'))) {

0 commit comments

Comments
 (0)