From 30de348991045163802032a68f393f57026c95fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.chilliet@fusiondirectory.org>
Date: Tue, 9 Jun 2020 15:56:57 +0200
Subject: [PATCH] :ambulance: fix(errors) Removed syntax specific to PHP>=7.1

1.4 release is supposed to support PHP 7.0.

issue #6071
---
 include/errors/class_SimplePluginError.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/errors/class_SimplePluginError.inc b/include/errors/class_SimplePluginError.inc
index a64922df6..ca6349d11 100644
--- a/include/errors/class_SimplePluginError.inc
+++ b/include/errors/class_SimplePluginError.inc
@@ -27,7 +27,7 @@ class SimplePluginError extends FusionDirectoryError
   protected $tab;
   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) {
       $this->attribute  = $origin;
-- 
GitLab