Skip to content

Commit

Permalink
Compatability with php 8.4 (Deprecate implicitly nullable parameter t…
Browse files Browse the repository at this point in the history
  • Loading branch information
srjlewis committed Oct 10, 2024
1 parent 9d3500f commit d906ab0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Template/Func.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ public function getCallback()

/**
* Call the function.
* @param Template $template
* @param array $arguments
* @param Template|null $template
* @param array $arguments
* @return mixed
*/
public function call(?Template $template = null, $arguments = array())
Expand Down
4 changes: 2 additions & 2 deletions src/Template/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ public function __toString()

/**
* Assign or get template data.
* @param array $data
* @return mixed
* @param array|null $data
* @return array|void
*/
public function data(?array $data = null)
{
Expand Down

0 comments on commit d906ab0

Please sign in to comment.