Completed
Push — master ( 6a1e1f...68372e )
by Werner
04:18 queued 01:53
created
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/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.
code/model/Abbreviation.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
@@ -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.