fix output type

This commit is contained in:
OCram85 2022-06-14 14:19:44 +02:00
parent 2dcc8bf842
commit a3e68a17dd
5 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ function Test-CSCertificate {
#> #>
[CmdletBinding()] [CmdletBinding()]
[OutputType([boolean])] [OutputType([bool])]
param( param(
[Parameter(Mandatory = $true)] [Parameter(Mandatory = $true)]
[ValidateNotNullOrEmpty()] [ValidateNotNullOrEmpty()]

View File

@ -37,7 +37,7 @@ function Test-CredentialStoreItem {
} }
#> #>
[CmdletBinding(DefaultParameterSetName = 'Private')] [CmdletBinding(DefaultParameterSetName = 'Private')]
[OutputType([boolean])] [OutputType([bool])]
param ( param (
[Parameter(Mandatory = $false, ParameterSetName = 'Shared')] [Parameter(Mandatory = $false, ParameterSetName = 'Shared')]
[string]$Path = "{0}\PSCredentialStore\CredentialStore.json" -f $env:ProgramData, [string]$Path = "{0}\PSCredentialStore\CredentialStore.json" -f $env:ProgramData,

View File

@ -40,7 +40,7 @@ function Resolve-Dependency {
} }
#> #>
[OutputType([boolean])] [OutputType([bool])]
[CmdletBinding()] [CmdletBinding()]
param ( param (
[Parameter(Mandatory = $true)] [Parameter(Mandatory = $true)]

View File

@ -26,7 +26,7 @@ function Test-CSPfxCertificate {
#> #>
[CmdletBinding()] [CmdletBinding()]
[OutputType([boolean])] [OutputType([bool])]
param( param(
[Parameter(Mandatory = $true, ValueFromPipeline = $true)] [Parameter(Mandatory = $true, ValueFromPipeline = $true)]
[ValidateNotNullOrEmpty()] [ValidateNotNullOrEmpty()]

View File

@ -19,7 +19,7 @@ function Test-CredentialStore {
#> #>
[CmdletBinding(DefaultParameterSetName = 'Private')] [CmdletBinding(DefaultParameterSetName = 'Private')]
[OutputBinding([boolean])] [OutputBinding([bool])]
param ( param (
[Parameter(Mandatory = $false, ParameterSetName = 'Shared')] [Parameter(Mandatory = $false, ParameterSetName = 'Shared')]
[string]$Path, [string]$Path,