Skip to content

Commit 632d810

Browse files
committed
Classes/DeclarationCompatibility: minor documentation improvements
1 parent a900e2f commit 632d810

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

WordPressVIPMinimum/Sniffs/Classes/DeclarationCompatibilitySniff.php

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class DeclarationCompatibilitySniff implements Sniff {
2929
public $checkClasses = [];
3030

3131
/**
32-
* List of grouped classes with same methods (as they extend the same parent class)
32+
* List of grouped classes with same methods (as they extend the same parent class).
3333
*
3434
* @deprecated 3.1.0 This should never have been a public property.
3535
*
@@ -379,15 +379,16 @@ public function process( File $phpcsFile, $stackPtr ) {
379379
}
380380

381381
/**
382-
* Generates an error with nice current and parent class method notations
382+
* Generates an error with nice current and parent class method notations.
383383
*
384-
* @param File $phpcsFile The PHP_CodeSniffer file where the token was found.
385-
* @param int $stackPtr The position of the current T_FUNCTION token in the stack.
386-
* @param int $currScope A pointer to the start of the OO scope.
387-
* @param string $parentClassName The name of the extended (parent) class.
388-
* @param string $methodName The name of the method currently being examined.
389-
* @param array $currentMethodSignature The list of params and their options of the method which is being examined.
390-
* @param array $parentMethodSignature The list of params and their options of the parent class method.
384+
* @param File $phpcsFile The PHP_CodeSniffer file where the token was found.
385+
* @param int $stackPtr The position of the current T_FUNCTION token in the stack.
386+
* @param int $currScope A pointer to the start of the OO scope.
387+
* @param string $parentClassName The name of the extended (parent) class.
388+
* @param string $methodName The name of the method currently being examined.
389+
* @param array<int, array<string, mixed>> $currentMethodSignature The list of params and their options of the method
390+
* which is being examined.
391+
* @param array<string, array<string, bool|string>> $parentMethodSignature The list of params and their options of the parent class method.
391392
*
392393
* @return void
393394
*/

0 commit comments

Comments
 (0)