Skip to content

Compatibility with php 8.4 #6

@ricardespinas-additioapp

Description

In the file src/RouteAccess.php, line 33 should be updated:

public static function can($route, \Closure $callback = null, \Closure $failCallback = null, $attributes = [])

to

public static function can($route, ?\Closure $callback = null, ?\Closure $failCallback = null, $attributes = [])

because Implicitly nullable parameter types are now deprecated in PHP 8.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions