@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | /** |
81 | 81 | * Add a single directory to the template engine. |
82 | 82 | * |
83 | - * @param string $directories directory of templates |
|
83 | + * @param string $directory directory of templates |
|
84 | 84 | * @return $this |
85 | 85 | */ |
86 | 86 | public function registerTheme($theme, $directory) |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | /** |
97 | 97 | * Returns the template rendering engine. |
98 | 98 | * |
99 | - * @return League\Plates\Engine |
|
99 | + * @return Engine |
|
100 | 100 | */ |
101 | 101 | public function getEngine() |
102 | 102 | { |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Vessel\Render; |
4 | 4 | |
5 | -use GuzzleHttp\Client; |
|
6 | -use Journey\Cache\Adapters\LocalAdapter; |
|
7 | 5 | use Journey\Cache\CacheAdapterInterface; |
8 | 6 | use Psr\Http\Message\ResponseInterface; |
9 | 7 | use Psr\Http\Message\ServerRequestInterface; |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * Get a particular page from the api. |
39 | 39 | * |
40 | 40 | * @param string $path path of the page |
41 | - * @return array|false |
|
41 | + * @return \Psr\Http\Message\ResponseInterface|null |
|
42 | 42 | */ |
43 | 43 | public function getPage($path) |
44 | 44 | { |
@@ -48,6 +48,8 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * Call a particular api endpoint. |
50 | 50 | * |
51 | + * @param string $method |
|
52 | + * @param string $url |
|
51 | 53 | * @return \Psr\Http\Message\ResponseInterface |
52 | 54 | */ |
53 | 55 | public function call($method, $url) |