Completed
Pull Request — master (#1)
by Mathieu
04:21
created
src/Charcoal/View/ViewableTrait.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @param string $templateIdent The template ID.
54 54
      * @throws InvalidArgumentException If the template identifier is not a string.
55
-     * @return ViewableInterface Chainable
55
+     * @return ViewableTrait Chainable
56 56
      */
57 57
     public function setTemplateIdent($templateIdent)
58 58
     {
@@ -80,9 +80,9 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * Set the renderable view.
82 82
      *
83
-     * @param ViewInterface|array $view The view instance to use to render.
83
+     * @param ViewInterface $view The view instance to use to render.
84 84
      * @throws InvalidArgumentException If the view parameter is not an array or a View object.
85
-     * @return ViewableInterface Chainable
85
+     * @return ViewableTrait Chainable
86 86
      */
87 87
     public function setView(ViewInterface $view)
88 88
     {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      *
136 136
      * @param ViewableInterface|object|array|null $controller A view controller to use when rendering.
137 137
      * @throws InvalidArgumentException If the controller is invalid.
138
-     * @return ViewableInterface Chainable
138
+     * @return ViewableTrait Chainable
139 139
      */
140 140
     public function setViewController($controller)
141 141
     {
Please login to merge, or discard this patch.
src/Charcoal/View/ViewServiceProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use Charcoal\View\Mustache\MustacheLoader;
13 13
 use Charcoal\View\Php\PhpEngine;
14 14
 use Charcoal\View\Php\PhpLoader;
15
-use Charcoal\View\PhpMustache\PhpMustacheEngine;
16 15
 use Charcoal\View\Twig\TwigEngine;
17 16
 use Charcoal\View\Twig\TwigLoader;
18 17
 use Charcoal\View\Renderer;
Please login to merge, or discard this patch.