Fix PhanPluginRedundantAssignment

This commit is contained in:
MDW 2024-03-13 00:31:32 +01:00
parent 6d7fe53d17
commit 3a561d2e37
No known key found for this signature in database

View file

@ -2,6 +2,7 @@
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2011 Regis Houssin <regis.houssin@inodbox.com>
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
*
* 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
@ -101,12 +102,12 @@ class modPaypal extends DolibarrModules
// Permissions
$this->rights = array(); // Permission array used by this module
$r = 0;
$r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment
// Main menu entries
$this->menu = array(); // List of menus to add
$r = 0;
$r = 0; // @phan-suppress-current-line PhanPluginRedundantAssignment
/*$this->menu[$r]=array(
'fk_menu'=>'fk_mainmenu=billing,fk_leftmenu=customers_bills_payment', // Use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode
'mainmenu'=>'billing',