[COMPONENTS][Posting] No error to ignore was reported on line 161, removed ignore

[PLUGINS][Directory] Further documentation work

[CORE][Controller] Separating workflows, setting proper return types

[TWIG][Security] Removing unused stylesheet calls
This commit is contained in:
2022-01-26 20:54:55 +00:00
parent 16e7d6cff7
commit adf484f58a
5 changed files with 48 additions and 59 deletions

View File

@@ -37,8 +37,8 @@ use Symfony\Component\HttpFoundation\Request;
class Directory extends Plugin
{
/**
* Map URLs to Controllers
* @param RouteLoader $r
* Map Directory routes to its corresponding Controllers
*
* @return bool
*/
public function onAddRoute(RouteLoader $r)
@@ -50,9 +50,8 @@ class Directory extends Plugin
}
/**
* Add Links to menu
* Add Links to main navigation card
*
* @param array $vars
* @param array $res out menu items
*
* @return bool hook value; true means continue processing, false means stop
@@ -67,12 +66,12 @@ class Directory extends Plugin
/**
* Prepend various widgets to Actors Collection template
*
* @param Request $request
* @param $elements array of widgets to be prepended
* @param array $elements array of widgets to be prepended
*
* @return bool EventHook
* @throws RedirectException
* @throws ServerException
*
* @return bool EventHook
*/
public function onPrependActorsCollection(Request $request, array &$elements): bool
{