Skip to content

Commit

Permalink
Docs: fix incorrect type
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Sep 26, 2023
1 parent 52539e5 commit b41bb18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Whip_MessageDismisser.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Whip_MessageDismisser {
/**
* The current time.
*
* @var string
* @var int
*/
protected $currentTime;

Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Whip_TestCase extends PHPUnit_Framework_TestCase {
* cross-version compatible manner.
*
* @param string $exception The class name of the exception to expect.
* @param string|null $message Optional. The exception message to expect.
* @param string $message Optional. The exception message to expect.
* @param int|string|null $code Optional. The exception code to expect.
*
* @return void
Expand Down
2 changes: 1 addition & 1 deletion tests/WPMessageDismissListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class WPMessageDismissListener extends Whip_TestCase {
* @param string $nonce The nonce to test.
* @param int $verifyNonceTimes The times to call wp_verify_nonce.
* @param bool $isCorrectNonce Whether the nonce is correct.
* @param bool $dismissTimes The times to call dismiss.
* @param int $dismissTimes The times to call dismiss.
*/
public function testDismiss( $action, $nonce, $verifyNonceTimes, $isCorrectNonce, $dismissTimes ) {
$dismisser = $this->getMockBuilder( 'Whip_MessageDismisser' )
Expand Down

0 comments on commit b41bb18

Please sign in to comment.