Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Pug/AbstractFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
abstract class AbstractFilter extends AbstractFilterBase implements FilterInterface
{
public function __invoke($code, array $options = null)
public function __invoke($code, ?array $options = null)
{
return $this->pugInvoke($code, $options);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Pug/Filter/AbstractFilterBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ abstract class AbstractFilterBase
{
use WrapTagTrait;

public function pugInvoke($code, array $options = null)
public function pugInvoke($code, ?array $options = null)
{
if (method_exists($this, 'parse')) {
$code = $this->parse($code, $options);
Expand Down
2 changes: 1 addition & 1 deletion src/Pug/Filter/Php.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
class Php implements FilterBase
{
public function __invoke($code, array $options = null)
public function __invoke($code, ?array $options = null)
{
return "<?php\n$code\n?>";
}
Expand Down
2 changes: 1 addition & 1 deletion src/Pug/FilterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ interface FilterInterface
*
* @return string
*/
public function __invoke($code, array $options = null);
public function __invoke($code, ?array $options = null);
}
Loading