mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-08-24 14:45:48 +02:00
Add php-cs-fixer
This commit is contained in:
@@ -32,18 +32,20 @@
|
||||
// Original Author of file:
|
||||
// Purpose of file:
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
namespace GlpiPlugin\Example;
|
||||
|
||||
use CommonDropdown;
|
||||
|
||||
// Class for a Dropdown
|
||||
class Dropdown extends CommonDropdown {
|
||||
class Dropdown extends CommonDropdown
|
||||
{
|
||||
public static function getTypeName($nb = 0)
|
||||
{
|
||||
if ($nb > 0) {
|
||||
return __('Plugin Example Dropdowns', 'example');
|
||||
}
|
||||
|
||||
|
||||
static function getTypeName($nb = 0) {
|
||||
|
||||
if ($nb > 0) {
|
||||
return __('Plugin Example Dropdowns', 'example');
|
||||
}
|
||||
return __('Plugin Example Dropdowns', 'example');
|
||||
}
|
||||
return __('Plugin Example Dropdowns', 'example');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user