/
githubmirror
/
joomla-cms
Обзор
Документация
Войти
/
githubmirror
/
joomla-cms
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
5.4-dev
administrator/components/com_fields/src/Extension/FieldsComponent.php
43 строки
1 KB
Christian Heel
[5.2] [PHP8.4] Update for nullable type declaration (#43323)
06 авг 2024, 10:51
Не верифицирован
06 авг 2024, 10:51
aa475c1
Код
Авторство
О чём код?
<?php /** * @package Joomla.Administrator * @subpackage com_fields * * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Fields\Administrator\Extension; use Joomla\CMS\Categories\CategoryServiceInterface; use Joomla\CMS\Categories\CategoryServiceTrait; use Joomla\CMS\Extension\MVCComponent; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Component class for com_fields * * @since 4.0.0 */ class FieldsComponent extends MVCComponent implements CategoryServiceInterface { use CategoryServiceTrait; /** * Returns the table for the count items functions for the given section. * * @param ?string $section The section * * @return string|null * * @since 4.0.0 */ protected function getTableNameForSection(?string $section = null) { return 'fields'; } }