* [FIX] Fixed wrong behavior when searching for accounts on accounts manager. Thanks to @Weptun for the feedback. Closes #1271

* [ADD] Added missing tests
* [MOD] Code cleanup

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2019-04-21 23:12:45 +02:00
parent b3906afa13
commit 2318796c00
366 changed files with 5141 additions and 3752 deletions

View File

@@ -25,10 +25,13 @@
namespace SP\Core;
use DI\Container;
use DI\DependencyException;
use DI\NotFoundException;
use Klein\Klein;
use Psr\Container\ContainerInterface;
use SP\Bootstrap;
use SP\Config\Config;
use SP\Config\ConfigData;
use SP\Core\Context\ContextInterface;
use SP\Core\Events\EventDispatcher;
use SP\Http\Request;
@@ -49,7 +52,7 @@ use SP\Util\Util;
abstract class ModuleBase
{
/**
* @var \SP\Config\ConfigData
* @var ConfigData
*/
protected $configData;
/**
@@ -116,8 +119,8 @@ abstract class ModuleBase
/**
* Initializes event handlers
*
* @throws \DI\DependencyException
* @throws \DI\NotFoundException
* @throws DependencyException
* @throws NotFoundException
*/
protected function initEventHandlers()
{