Completed
Pull Request — master (#61)
by Vladimir
09:45
created
src/allejo/stakx/MarkupEngine/MarkupEngineManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@
 block discarded – undo
53 53
         throw new UnsupportedMarkupException($tag, 'There is no support to handle this markup format.');
54 54
     }
55 55
 
56
+    /**
57
+     * @param string $extension
58
+     */
56 59
     public function getEngineByExtension($extension)
57 60
     {
58 61
         if (isset($this->enginesByExtension[$extension]))
Please login to merge, or discard this patch.
src/allejo/stakx/Templating/Twig/TwigExtension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@
 block discarded – undo
38 38
         return $this->parseMarkup($arguments[0], $tag);
39 39
     }
40 40
 
41
+    /**
42
+     * @param string $tag
43
+     */
41 44
     public function parseMarkup($content, $tag)
42 45
     {
43 46
         return $this->markupManager->getEngineByTag($tag)->parse($content);
Please login to merge, or discard this patch.