Commit 2fe9c554 authored by Klaus Purer's avatar Klaus Purer
Browse files

refactor(phpstan): Fix PHPStan reports for level 3 (#3104477)

parent 05a71ed6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ class ClassDefinitionNameSpacingSniff implements Sniff
    /**
     * Returns the token types that this sniff is interested in.
     *
     * @return int[]
     * @return array<int, int|string>
     */
    public function register()
    {
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ class InlineCommentSniff implements Sniff
     * @param int                         $stackPtr  The position of the current token in the
     *                                               stack passed in $tokens.
     *
     * @return void
     * @return int|void
     */
    public function process(File $phpcsFile, $stackPtr)
    {
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ class EndFileNewlineSniff implements Sniff
     * @param int                         $stackPtr  The position of the current token in
     *                                               the stack passed in $tokens.
     *
     * @return void
     * @return int|void
     */
    public function process(File $phpcsFile, $stackPtr)
    {
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ class FileEncodingSniff implements Sniff
     * @param int                         $stackPtr  The position of the current token in
     *                                               the stack passed in $tokens.
     *
     * @return void
     * @return int|void
     */
    public function process(File $phpcsFile, $stackPtr)
    {
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ class LineLengthSniff extends GenericLineLengthSniff
     * @param array                       $tokens    The token stack.
     * @param int                         $stackPtr  The first token on the next line.
     *
     * @return void
     * @return false|null
     */
    protected function checkLineLength($phpcsFile, $tokens, $stackPtr)
    {
Loading