Unverified Commit 30de3489 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(errors) Removed syntax specific to PHP>=7.1

1.4 release is supposed to support PHP 7.0.

issue #6071
Showing with 1 addition and 1 deletion
+1 -1
...@@ -27,7 +27,7 @@ class SimplePluginError extends FusionDirectoryError ...@@ -27,7 +27,7 @@ class SimplePluginError extends FusionDirectoryError
protected $tab; protected $tab;
protected $attribute; protected $attribute;
public function __construct (?object $origin, string $htmlMessage = '', int $code = 0, Throwable $previous = NULL) public function __construct ($origin, string $htmlMessage = '', int $code = 0, Throwable $previous = NULL)
{ {
if ($origin instanceof Attribute) { if ($origin instanceof Attribute) {
$this->attribute = $origin; $this->attribute = $origin;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment