Skip to content

Commit 8ad3806

Browse files
committed
Merge branch '3.4' into 4.1
* 3.4: Use the real image URL for the filesystem tests [Finder] Update PHPdoc append() [DI] Fix phpdoc Fix code examples in PHPDoc [HttpKernel] Fix inheritdocs bumped Symfony version to 3.4.16 updated VERSION for 3.4.15 updated CHANGELOG for 3.4.15
2 parents bae4983 + cf1a423 commit 8ad3806

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

ContainerAwareInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
*/
1919
interface ContainerAwareInterface
2020
{
21+
/**
22+
* Sets the container.
23+
*/
2124
public function setContainer(ContainerInterface $container = null);
2225
}

ContainerBuilder.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -616,10 +616,10 @@ private function doGet($id, $invalidBehavior = ContainerInterface::EXCEPTION_ON_
616616
* the parameters passed to the container constructor to have precedence
617617
* over the loaded ones.
618618
*
619-
* $container = new ContainerBuilder(new ParameterBag(array('foo' => 'bar')));
620-
* $loader = new LoaderXXX($container);
621-
* $loader->load('resource_name');
622-
* $container->register('foo', 'stdClass');
619+
* $container = new ContainerBuilder(new ParameterBag(array('foo' => 'bar')));
620+
* $loader = new LoaderXXX($container);
621+
* $loader->load('resource_name');
622+
* $container->register('foo', 'stdClass');
623623
*
624624
* In the above example, even if the loaded resource defines a foo
625625
* parameter, the value will still be 'bar' as defined in the ContainerBuilder
@@ -1243,14 +1243,14 @@ private function doResolveServices($value, array &$inlineServices = array(), $is
12431243
*
12441244
* Example:
12451245
*
1246-
* $container->register('foo')->addTag('my.tag', array('hello' => 'world'));
1246+
* $container->register('foo')->addTag('my.tag', array('hello' => 'world'));
12471247
*
1248-
* $serviceIds = $container->findTaggedServiceIds('my.tag');
1249-
* foreach ($serviceIds as $serviceId => $tags) {
1250-
* foreach ($tags as $tag) {
1251-
* echo $tag['hello'];
1248+
* $serviceIds = $container->findTaggedServiceIds('my.tag');
1249+
* foreach ($serviceIds as $serviceId => $tags) {
1250+
* foreach ($tags as $tag) {
1251+
* echo $tag['hello'];
1252+
* }
12521253
* }
1253-
* }
12541254
*
12551255
* @param string $name
12561256
* @param bool $throwOnAbstract

Definition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function setFactory($factory)
115115
/**
116116
* Gets the factory.
117117
*
118-
* @return string|array The PHP function or an array containing a class/Reference and a method to call
118+
* @return string|array|null The PHP function or an array containing a class/Reference and a method to call
119119
*/
120120
public function getFactory()
121121
{

0 commit comments

Comments
 (0)