Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: minor fixes #123

Merged
merged 1 commit into from
Jan 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions VariableAnalysis/Lib/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static function findParenthesisOwner(File $phpcsFile, $stackPtr) {

/**
* @param File $phpcsFile
* @param int[] $conditions
* @param (int|string)[] $conditions
*
* @return bool
*/
Expand All @@ -95,7 +95,7 @@ public static function areAnyConditionsAClosure(File $phpcsFile, array $conditio


/**
* @param int[] $conditions
* @param (int|string)[] $conditions
*
* @return bool
*/
Expand All @@ -109,7 +109,7 @@ public static function areAnyConditionsAClass(array $conditions) {
}

/**
* @param int[] $conditions
* @param (int|string)[] $conditions
*
* @return bool
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class VariableAnalysisSniff implements Sniff {
public $allowUnusedForeachVariables = true;

/**
* @return int[]
* @return (int|string)[]
*/
public function register() {
return [
Expand Down