Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Jun 11, 2024
1 parent 0df0010 commit 3a01281
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions date/date_c.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public static function getLastErrors(): array|false {}
#[Pure]
#[TentativeType]
#[LanguageLevelTypeAware(['8.3' => 'DateTimeImmutable'], default: 'DateTimeImmutable|false')]
public function modify(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $modifier): DateTimeImmutable {}
public function modify(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $modifier): DateTimeImmutable|false {}

/**
* (PHP 5 &gt;=5.5.0)<br/>
Expand Down Expand Up @@ -566,7 +566,7 @@ public function format(#[LanguageLevelTypeAware(['8.0' => 'string'], default: ''
*/
#[TentativeType]
#[LanguageLevelTypeAware(['8.2' => 'DateTime'], default: 'DateTime|false')]
public function modify(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $modifier): DateTime {}
public function modify(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $modifier): DateTime|false {}

/**
* Adds an amount of days, months, years, hours, minutes and seconds to a DateTime object
Expand Down Expand Up @@ -942,7 +942,7 @@ public function format(#[LanguageLevelTypeAware(['8.0' => 'string'], default: ''
*/
#[TentativeType]
#[LanguageLevelTypeAware(['8.3' => 'DateInterval'], default: 'DateInterval|false')]
public static function createFromDateString(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $datetime): DateInterval {}
public static function createFromDateString(#[LanguageLevelTypeAware(['8.0' => 'string'], default: '')] $datetime): DateInterval|false {}

#[TentativeType]
public function __wakeup(): void {}
Expand Down

0 comments on commit 3a01281

Please sign in to comment.