Skip to content

Commit

Permalink
Merge pull request #871 from xabbuh/pr-868-1.7
Browse files Browse the repository at this point in the history
[PHP 8.4] Fixes for implicit nullability deprecation
  • Loading branch information
erusev authored Jul 9, 2024
2 parents cb17b64 + 7b307a9 commit f7285e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Parsedown.php
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ protected function blockRule($Line)
#
# Setext

protected function blockSetextHeader($Line, array $Block = null)
protected function blockSetextHeader($Line, ?array $Block = null)
{
if ( ! isset($Block) or isset($Block['type']) or isset($Block['interrupted']))
{
Expand Down Expand Up @@ -850,7 +850,7 @@ protected function blockReference($Line)
#
# Table

protected function blockTable($Line, array $Block = null)
protected function blockTable($Line, ?array $Block = null)
{
if ( ! isset($Block) or isset($Block['type']) or isset($Block['interrupted']))
{
Expand Down

0 comments on commit f7285e7

Please sign in to comment.