Skip to content
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