From 165d8163a950d739509de84fc67a7fb4211c70cf Mon Sep 17 00:00:00 2001
From: Thibault Dockx <thibault.dockx@fusiondirectory.org>
Date: Thu, 27 Feb 2025 13:47:58 +0000
Subject: [PATCH] :sparkles: (Core) - fiing listingEntry

Fixing listingEntry
---
 include/management/class_ListingEntry.inc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/management/class_ListingEntry.inc b/include/management/class_ListingEntry.inc
index 4447ff30d..080369f65 100755
--- a/include/management/class_ListingEntry.inc
+++ b/include/management/class_ListingEntry.inc
@@ -57,24 +57,24 @@ class ListingEntry implements ArrayAccess
     $this->row      = $row;
   }
 
-  public function offsetSet ($offset, $value)
+  public function offsetSet ($offset, $value) : void
   {
     $this->attrs[$offset] = $value;
   }
 
-  public function offsetExists ($offset)
+  public function offsetExists ($offset) : bool
   {
     return isset($this->attrs[$offset]);
   }
 
-  public function offsetUnset ($offset)
+  public function offsetUnset ($offset) : void
   {
     unset($this->attrs[$offset]);
   }
 
-  public function offsetGet ($offset)
+  public function offsetGet ($offset) : mixed
   {
-    return (isset($this->attrs[$offset]) ? $this->attrs[$offset] : NULL);
+    return ($this->attrs[$offset] ?? NULL);
   }
 
   public function getPid (): string
-- 
GitLab