Skip to content

Commit 0f8506e

Browse files
Jakub-FajkusSpamercz
authored andcommitted
Supress type errors
1 parent 38acccd commit 0f8506e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/Entity/DateTimeInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
interface DateTimeInterface extends \DateTimeInterface
66
{
77

8+
#[\ReturnTypeWillChange]
89
public function format($format = NULL);
910

1011
}

src/Entity/Property/DateTime.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class DateTime extends \Nette\Utils\DateTime implements \Spameri\Elastic\Entity\
1313
* @param string|null $format
1414
* @return string
1515
*/
16+
#[\ReturnTypeWillChange]
1617
public function format($format = NULL)
1718
{
1819
if (\is_null($format)) {

0 commit comments

Comments
 (0)