Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
4 changed files with 4 additions and 8 deletions
Showing only changes of commit 35b42d5234 - Show all commits

View File

@ -10,7 +10,6 @@ use Aura\Router\RouterContainer;
use Aura\Session\SessionFactory;
use Monolog\Logger;
use Monolog\Handler\RotatingFileHandler;
use Monolog\Handler\BrowserConsoleHandler;
use Zend\Diactoros\ServerRequestFactory;
use Zend\Diactoros\Response;
@ -68,9 +67,6 @@ return function(array $config_array = []) {
$session = (new SessionFactory())->newInstance($_COOKIE);
$container->set('session', $session);
$container->set('url-generator', new UrlGenerator($container));
// Miscellaneous helper methods
$anime_client = new AnimeClient();
$anime_client->setContainer($container);
@ -82,9 +78,10 @@ return function(array $config_array = []) {
$container->set('manga-model', new Model\Manga($container));
$container->set('anime-collection-model', new Model\AnimeCollection($container));
// Miscellaneous Classes
$container->set('auth', new HummingbirdAuth($container));
$container->set('cache', new CacheManager($container));
$container->set('url-generator', new UrlGenerator($container));
// -------------------------------------------------------------------------
// Dispatcher

View File

@ -30,7 +30,6 @@ $base_config = [
'img_cache_path' => "{$ROOT_DIR}/public/images",
// Included config files
//'database' => require 'database.php',
'menus' => require 'menus.php',
'routes' => require 'routes.php',
];

View File

@ -224,7 +224,7 @@ class Manga extends API {
}
/**
* Check the status of the cache and return the appropriate response
* Transform the response to be more consistent
*
* @param \GuzzleHttp\Message\Response $response
* @codeCoverageIgnore

View File

@ -18,7 +18,7 @@ class RedisDriver implements \Aviat\Ion\Cache\CacheDriverInterface {
/**
* The redis extension class instance
* #var Redis
* @var Redis
*/
protected $redis;