]> git.joonet.de Git - adminer.git/commitdiff
Notices: Declare Adminer::$error
authorJakub Vrana <jakub@vrana.cz>
Mon, 24 Mar 2025 05:17:38 +0000 (06:17 +0100)
committerJakub Vrana <jakub@vrana.cz>
Mon, 24 Mar 2025 06:30:22 +0000 (07:30 +0100)
adminer/include/adminer.inc.php
adminer/include/plugins.inc.php
editor/include/adminer.inc.php

index 1ca4c8de15678fbc3866a25f0bec72e3f22f74b6..a56e9633cef353c8bb91102774c0cf2419a2bad1 100644 (file)
@@ -4,8 +4,8 @@ namespace Adminer;
 // any method change in this file should be transferred to editor/include/adminer.inc.php and plugins/plugin.php
 
 class Adminer {
-       /** @var array operators used in select, null for all operators */
-       public $operators;
+       public $operators; ///< @var array operators used in select, null for all operators
+       public $error = ''; ///< @var protected(set) string HTML
 
        /** Name in title and navigation
        * @return string HTML code
index b54924e9b08b09ee4d40d21cdf954a32d94745ad..325dcb204898572aabf843035d6551323daa8195 100644 (file)
@@ -3,7 +3,6 @@ namespace Adminer;
 
 class Plugins extends Adminer {
        public $plugins; ///< @var protected(set) array
-       public $error = ''; ///< @var protected(set) string HTML
 
        /** Register plugins
        * @param array object instances or null to autoload plugins from adminer-plugins/
index f7608be4dbd88aeb0aaf99e02e80bc93addede06..056f49947b897fc23aed92abad7901d991d36e22 100644 (file)
@@ -3,6 +3,7 @@ namespace Adminer;
 
 class Adminer {
        public $operators = array("<=", ">=");
+       public $error = '';
        private $values = array();
 
        function name() {