diff --git a/src/Files/File.php b/src/Files/File.php index 2ccd834784..b76c047a76 100644 --- a/src/Files/File.php +++ b/src/Files/File.php @@ -2404,7 +2404,7 @@ public function findEndOfStatement($start, $ignore=null) * If value is omitted, tokens with any value will * be returned. * - * @return int | bool + * @return int|bool */ public function findFirstOnLine($types, $start, $exclude=false, $value=null) { diff --git a/src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php b/src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php index 5314533356..6ca636d3f4 100644 --- a/src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php +++ b/src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php @@ -208,7 +208,7 @@ public function process(File $phpcsFile, $stackPtr) * @param int $stackPtr The position to start looking at. * @param int $end The position to stop looking at. * - * @return int | bool + * @return int|bool */ private function findNextCase($phpcsFile, $stackPtr, $end) {