diff --git a/administrator/components/com_tags/src/Controller/TagController.php b/administrator/components/com_tags/src/Controller/TagController.php index 80a723fd79be0..741bc70a86b49 100644 --- a/administrator/components/com_tags/src/Controller/TagController.php +++ b/administrator/components/com_tags/src/Controller/TagController.php @@ -40,22 +40,6 @@ protected function allowAdd($data = []) return $this->app->getIdentity()->authorise('core.create', 'com_tags'); } - /** - * Method to check if you can edit a record. - * - * @param array $data An array of input data. - * @param string $key The name of the key for the primary key. - * - * @return boolean - * - * @since 3.1 - */ - protected function allowEdit($data = [], $key = 'id') - { - // Since there is no asset tracking and no categories, revert to the component permissions. - return parent::allowEdit($data, $key); - } - /** * Method to run batch operations. * diff --git a/libraries/src/Component/Exception/MissingComponentException.php b/libraries/src/Component/Exception/MissingComponentException.php index d862b517f1b50..efdd106433163 100644 --- a/libraries/src/Component/Exception/MissingComponentException.php +++ b/libraries/src/Component/Exception/MissingComponentException.php @@ -22,17 +22,4 @@ */ class MissingComponentException extends RouteNotFoundException { - /** - * Constructor - * - * @param string $message The Exception message to throw. - * @param integer $code The Exception code. - * @param \Exception $previous The previous exception used for the exception chaining. - * - * @since 3.7.0 - */ - public function __construct($message = '', $code = 404, \Exception $previous = null) - { - parent::__construct($message, $code, $previous); - } } diff --git a/libraries/src/Toolbar/Button/DropdownButton.php b/libraries/src/Toolbar/Button/DropdownButton.php index 97272da54c19e..915f45e7540f0 100644 --- a/libraries/src/Toolbar/Button/DropdownButton.php +++ b/libraries/src/Toolbar/Button/DropdownButton.php @@ -84,20 +84,6 @@ protected function prepareOptions(array &$options) } } - /** - * Render button HTML. - * - * @param array $options The button options. - * - * @return string The button HTML. - * - * @since 4.0.0 - */ - protected function renderButton(array &$options): string - { - return parent::renderButton($options); - } - /** * Get the button CSS Id. *