Completed
Branch master (6a1e1f)
by Werner
03:15
created
code/model/Abbreviation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      * @param string $content the shortcode content
102 102
      * @param ShortcodeParser $parser the ShortcodeParser instance
103 103
      * @param string $shortcode the raw shortcode being parsed
104
-     * @return String
104
+     * @return null|HTMLText
105 105
      **/
106 106
     public static function parse_shortcode($arguments, $content, $parser, $shortcode)
107 107
     {
Please login to merge, or discard this patch.
code/model/Explanation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * @param string $content the shortcode content
22 22
      * @param ShortcodeParser $parser the ShortcodeParser instance
23 23
      * @param string $shortcode the raw shortcode being parsed
24
-     * @return String
24
+     * @return null|HTMLText
25 25
      **/
26 26
     public static function parse_shortcode($arguments, $content, $parser, $shortcode)
27 27
     {
Please login to merge, or discard this patch.
code/pages/AbbreviationPage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@
 block discarded – undo
60 60
         return $this->customise(array('Item' => $item))->renderWith(array('AbbreviationPage_view', 'Page'));
61 61
     }
62 62
 
63
+    /**
64
+     * @param string $slug
65
+     */
63 66
     public function getItem($slug)
64 67
     {
65 68
         return Abbreviation::get()->filter(array('URLSlug' => $slug))->first();
Please login to merge, or discard this patch.
code/pages/ExplanationPage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@
 block discarded – undo
39 39
         return $this->customise(array('Item' => $item))->renderWith(array('ExplanationPage_view', 'Page'));
40 40
     }
41 41
 
42
+    /**
43
+     * @param string $slug
44
+     */
42 45
     public function getItem($slug)
43 46
     {
44 47
         return Explanation::get()->filter(array('URLSlug' => $slug))->first();
Please login to merge, or discard this patch.