From 855ac2545f2655542192c7e44429b1ff5a9a9e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bundyra?= Date: Tue, 19 Nov 2019 23:59:43 +0000 Subject: [PATCH] QA: fix doc return type --- src/Files/File.php | 2 +- .../PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {