Skip to content

Commit

Permalink
Merge branch '3.4' into 4.4
Browse files Browse the repository at this point in the history
* 3.4:
  [appveyor] bump cache
  [DI] µfix
  • Loading branch information
nicolas-grekas committed Apr 10, 2020
2 parents ac5f45b + 8920f18 commit 4be98cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phpunit
@@ -1,7 +1,7 @@
#!/usr/bin/env php
<?php

// Cache-Id: 2020-01-31 10:00 UTC
// Cache-Id: 2020-04-10 20:30 UTC

if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
echo "Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";
Expand Down
Expand Up @@ -345,7 +345,7 @@ private function parseDefinition(string $id, $service, string $file, array $defa

if (isset($service['alias'])) {
$this->container->setAlias($id, $alias = new Alias($service['alias']));
if (\array_key_exists('public', $service)) {
if (isset($service['public'])) {
$alias->setPublic($service['public']);
} elseif (isset($defaults['public'])) {
$alias->setPublic($defaults['public']);
Expand Down

0 comments on commit 4be98cd

Please sign in to comment.