diff --git a/classes/PasswordException.php b/classes/PasswordException.php index abf1ce5..ae68c12 100644 --- a/classes/PasswordException.php +++ b/classes/PasswordException.php @@ -1,13 +1,12 @@ config = Config::getInstance(); $this->download = new VideoDownload(); $this->container = $container; - $session_factory = new \Aura\Session\SessionFactory; + $session_factory = new \Aura\Session\SessionFactory(); $session = $session_factory->newInstance($_COOKIE); $this->sessionSegment = $session->getSegment('Alltube\Controller\FrontController'); } @@ -103,9 +103,10 @@ class FrontController } /** - * Display a password prompt - * @param Request $request PSR-7 request - * @param Response $response PSR-7 response + * Display a password prompt. + * + * @param Request $request PSR-7 request + * @param Response $response PSR-7 response * * @return Response HTTP response */ diff --git a/tests/VideoDownloadTest.php b/tests/VideoDownloadTest.php index 7c1b0cd..22b0751 100644 --- a/tests/VideoDownloadTest.php +++ b/tests/VideoDownloadTest.php @@ -90,7 +90,7 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase } /** - * Test getURL function with a protected video + * Test getURL function with a protected video. * * @return void */