noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 12/15: Compatibility PHP7.0


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 12/15: Compatibility PHP7.0
Date: Fri, 5 Feb 2021 11:38:32 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit b29076e4a7218c7dec058aabe937b6af8662b97c
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Feb 4 14:15:15 2021 +0100

    Compatibility PHP7.0
---
 include/lib/ifile.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/lib/ifile.class.php b/include/lib/ifile.class.php
index b952f49..5abcb8b 100644
--- a/include/lib/ifile.class.php
+++ b/include/lib/ifile.class.php
@@ -36,7 +36,7 @@ class IFile extends HtmlInput
     /**
      * @return false
      */
-    public function getAlertOnSize(): bool
+    public function getAlertOnSize()
     {
         return $this->alert_on_size;
     }
@@ -45,7 +45,7 @@ class IFile extends HtmlInput
      *  if true , the size is tested and a box is displaid
      * @param false $alert_on_size
      */
-    public function setAlertOnSize(bool $alert_on_size): void
+    public function setAlertOnSize(bool $alert_on_size)
     {
         $this->alert_on_size = $alert_on_size;
     }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]