Skip to content

Commit

Permalink
Fixed some declared Output types and verified the rest.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobFaie committed Feb 1, 2020
1 parent 2671d74 commit da0d3ef
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion functions/Connect-.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

function Connect- {
[OutputType([String])]
[OutputType([Boolean])]
[CmdletBinding()]
Param (

Expand Down
2 changes: 1 addition & 1 deletion functions/Get-Comment.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

function Get-Comment {

[OutputType([String])]
[OutputType([PSCustomObject])]
[CmdletBinding()]
Param (

Expand Down
2 changes: 1 addition & 1 deletion functions/Search-.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Search- {
.EXAMPLE
Search-Zendesk -Query 'type:user [email protected]'
#>
[OutputType([String])]
[OutputType([PSCustomObject])]
[CmdletBinding()]
Param (
# Zendesk Search Query
Expand Down
2 changes: 1 addition & 1 deletion functions/Test-Connection.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Test-Connection {
Search-Zendesk @searchParams
}
#>
[OutputType([Bool])]
[OutputType([Boolean])]
[CmdletBinding()]
Param(
# Zendesk Connection Context from `Get-ZendeskConnection`
Expand Down
1 change: 0 additions & 1 deletion todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
- Tests
- OAuth Support
- Parameter Validation
- OutputType
- Attachment Uploads
- Usage Compatability Check
- PS Edition/Version Compatability Check
Expand Down

0 comments on commit da0d3ef

Please sign in to comment.