Skip to content

Commit f6412b8

Browse files
committed
Typo
1 parent a68b565 commit f6412b8

File tree

1 file changed

+3
-4
lines changed
  • .github/workflows/docs-configuration-reference

1 file changed

+3
-4
lines changed

.github/workflows/docs-configuration-reference/run.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/usr/bin/env php
22
<?php
33

4-
if ($argc !== 3) {
4+
if ($argc !== 4) {
55
echo "./run.php path-to-symfony path-to-docs-page FrameworkBundle \n";
6-
exit(1);
6+
exit(2);
77
}
88

99
// Input
1010
$symfony = $argv[1];
1111
$docPage = $argv[2];
12-
$bundleName = $argv[2];
12+
$bundleName = $argv[3];
1313
require $symfony.'/vendor/autoload.php';
1414

1515
$referenceContent = file_get_contents($docPage);
@@ -21,7 +21,6 @@
2121

2222
// always remove the first key
2323
$config = $config[$key = array_key_first($config)];
24-
$x = 2;
2524

2625
$missingKeys = [];
2726
parseConfigKeys($referenceContent, $config, $key, $missingKeys);

0 commit comments

Comments
 (0)