* [MOD] Improved repositories behaviour and code refactoring.

* [ADD] Added more unit tests. Work in progress.
* [FIX] Fixed wrong behaviour when updating an LDAP user. Related #950. Thanks to @Fizard for the feedback.
This commit is contained in:
nuxsmin
2018-06-12 01:36:28 +02:00
parent 5a3834761a
commit 0096963131
117 changed files with 2789 additions and 1621 deletions

View File

@@ -57,6 +57,9 @@ class NotificationController extends ControllerBase implements CrudControllerInt
/**
* indexAction
*
* @throws \SP\Core\Exceptions\ConstraintException
* @throws \SP\Core\Exceptions\QueryException
*/
public function indexAction()
{
@@ -75,6 +78,8 @@ class NotificationController extends ControllerBase implements CrudControllerInt
* getSearchGrid
*
* @return $this
* @throws \SP\Core\Exceptions\ConstraintException
* @throws \SP\Core\Exceptions\QueryException
*/
protected function getSearchGrid()
{
@@ -114,11 +119,12 @@ class NotificationController extends ControllerBase implements CrudControllerInt
}
/**
* Sets view data for displaying user's data
* Sets view data for displaying notification's data
*
* @param $notificationId
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
*
* @throws \SP\Core\Exceptions\ConstraintException
* @throws \SP\Core\Exceptions\QueryException
*/
protected function setViewData($notificationId = null)
{