Passed
Push — master ( 1f5e72...7f5bc2 )
by Justin
02:15
created
src/Renderer.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,7 +84,8 @@  discard block
 block discarded – undo
84 84
     /**
85 85
      * Add a single directory to the template engine.
86 86
      *
87
-     * @param  string $directories directory of templates
87
+     * @param  string $directory directory of templates
88
+     * @param string $theme
88 89
      * @return $this
89 90
      */
90 91
     public function registerTheme($theme, $directory)
@@ -100,7 +101,7 @@  discard block
 block discarded – undo
100 101
     /**
101 102
      * Returns the template rendering engine.
102 103
      *
103
-     * @return League\Plates\Engine
104
+     * @return Engine
104 105
      */
105 106
     public function getEngine()
106 107
     {
@@ -159,7 +160,6 @@  discard block
 block discarded – undo
159 160
     /**
160 161
      * Returns the image url on the vssl server.
161 162
      *
162
-     * @param  string $imageName hash.extension
163 163
      * @param  string $style     image style name
164 164
      * @return string
165 165
      */
Please login to merge, or discard this patch.
src/Resolver.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Vssl\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;
Please login to merge, or discard this patch.
src/PageApi.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      * Get a particular page from the api.
51 51
      *
52 52
      * @param  string $path path of the page
53
-     * @return array|false
53
+     * @return \Psr\Http\Message\ResponseInterface
54 54
      */
55 55
     public function getPage($path)
56 56
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * Get a particular page from the api.
62 62
      *
63 63
      * @param  array $ids unique ids of pages to fetch data for.
64
-     * @return array|false
64
+     * @return \Psr\Http\Message\ResponseInterface
65 65
      */
66 66
     public function getPagesById($ids)
67 67
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * Get a list of pages of a particular type from the api.
76 76
      *
77 77
      * @param  string $type type of pages to get.
78
-     * @return array
78
+     * @return \Psr\Http\Message\ResponseInterface
79 79
      */
80 80
     public function getPagesByType($type)
81 81
     {
@@ -99,6 +99,8 @@  discard block
 block discarded – undo
99 99
     /**
100 100
      * Call a particular api endpoint.
101 101
      *
102
+     * @param string $method
103
+     * @param string $url
102 104
      * @return \Psr\Http\Message\ResponseInterface
103 105
      */
104 106
     public function call($method, $url)
Please login to merge, or discard this patch.