Skip to content

Commit 4816ab6

Browse files
authored
Merge pull request #91 from mlocati/Install-PhpExtension-arg-indexes
Fix argument positions of Install-PhpExtension
2 parents d69706a + 7b0a3be commit 4816ab6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PhpManager/public/Install-PhpExtension.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@
4242
[ValidateNotNull()]
4343
[ValidateSet('stable', 'beta', 'alpha', 'devel', 'snapshot')]
4444
[string] $MinimumStability,
45-
[Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The maximum stability flag of the package: one of ''stable'' (default), ''beta'', ''alpha'', ''devel'' or ''snapshot'')')]
45+
[Parameter(Mandatory = $false, Position = 3, HelpMessage = 'The maximum stability flag of the package: one of ''stable'' (default), ''beta'', ''alpha'', ''devel'' or ''snapshot'')')]
4646
[ValidateNotNull()]
4747
[ValidateSet('stable', 'beta', 'alpha', 'devel', 'snapshot')]
4848
[string] $MaximumStability,
49-
[Parameter(Mandatory = $false, Position = 3, HelpMessage = 'The path to the PHP installation; if omitted we''ll use the one found in the PATH environment variable')]
49+
[Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The path to the PHP installation; if omitted we''ll use the one found in the PATH environment variable')]
5050
[ValidateNotNull()]
5151
[ValidateLength(1, [int]::MaxValue)]
5252
[string] $Path,
53-
[Parameter(Mandatory = $false, Position = 4, HelpMessage = 'The path where additional files (DLL, ...) will be installed; if omitted we''ll use the directory where PHP resides')]
53+
[Parameter(Mandatory = $false, Position = 5, HelpMessage = 'The path where additional files (DLL, ...) will be installed; if omitted we''ll use the directory where PHP resides')]
5454
[ValidateNotNull()]
5555
[ValidateLength(1, [int]::MaxValue)]
5656
[string] $AdditionalFilesPath,

0 commit comments

Comments
 (0)