From daaf1e46c6fc38e2900bbd9b2a5f25bbba93ff56 Mon Sep 17 00:00:00 2001 From: MDW Date: Wed, 13 Mar 2024 00:31:00 +0100 Subject: [PATCH] Fix PhanPluginRedundantAssignment --- htdocs/core/modules/modGravatar.class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/core/modules/modGravatar.class.php b/htdocs/core/modules/modGravatar.class.php index 4e38b93c4fc..f5992524911 100644 --- a/htdocs/core/modules/modGravatar.class.php +++ b/htdocs/core/modules/modGravatar.class.php @@ -1,6 +1,7 @@ * Copyright (C) 2004-2015 Laurent Destailleur + * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -91,7 +92,7 @@ class modGravatar extends DolibarrModules // Boxes $this->boxes = array(); // List of boxes - $r = 0; + $r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment // Add here list of php file(s) stored in core/boxes that contains class to show a box. // Example: @@ -103,7 +104,7 @@ class modGravatar extends DolibarrModules // Permissions $this->rights = array(); // Permission array used by this module - $r = 0; + $r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment // Add here list of permission defined by an id, a label, a boolean and two constant strings. // Example: @@ -117,7 +118,7 @@ class modGravatar extends DolibarrModules // Main menu entries $this->menu = array(); // List of menus to add - $r = 0; + $r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment // Add here entries to declare new menus // Example to declare the Top Menu entry: