Completed
Pull Request — 1.2 (#12)
by David
07:52
created
src/AutoChainRenderer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@
 block discarded – undo
76 76
         $this->templateRenderer = $templateRenderer;
77 77
     }
78 78
 
79
+    /**
80
+     * @param string $context
81
+     */
79 82
     private function getRenderer($object, $context = null)
80 83
     {
81 84
         $cacheKey = "chainRendererByClass_".$this->uniqueName."/".$this->templateRenderer->getUniqueName()."/".$this->getTemplateRendererInstanceName()."/".get_class($object)."/".$context;
Please login to merge, or discard this patch.
src/FileBasedRenderer.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,6 @@
 block discarded – undo
54 54
 	 * 
55 55
 	 * @param string $directory The directory of the templates, relative to the project root. Does not start and does not finish with a /
56 56
 	 * @param CacheInterface $cacheService This service is used to speed up the mapping between the object and the template.
57
-	 * @param string $type The type of the renderer. Should be one of "custom", "template" or "package". Defaults to "custom" (see ChainableRendererInterface for more details)
58
-	 * @param number $priority The priority of the renderer (within its type)
59 57
 	 */
60 58
     public function __construct(string $directory, CacheInterface $cacheService, ContainerInterface $container, Twig $twig = null)
61 59
     {
Please login to merge, or discard this patch.