Completed
Push — master ( 232c3a...684961 )
by Nicolaas
02:05
created
code/api/MyTwitter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      *
75 75
      * @param String $username (e.g. mytwitterhandle)
76 76
      * @param Int $count - number of tweets to retrieve at any one time
77
-     * @return DataObjectSet | Null
77
+     * @return null|ArrayList | Null
78 78
      */
79 79
     public function TwitterFeed($username, $count = 5)
80 80
     {
Please login to merge, or discard this patch.
code/api/thirdparty/simple_html_dom.php 1 patch
Doc Comments   +40 added lines patch added patch discarded remove patch
@@ -123,6 +123,9 @@  discard block
 block discarded – undo
123 123
     public $tag_start = 0;
124 124
     private $dom = null;
125 125
 
126
+    /**
127
+     * @param simple_html_dom $dom
128
+     */
126 129
     public function __construct($dom)
127 130
     {
128 131
         $this->dom = $dom;
@@ -1593,6 +1596,11 @@  discard block
 block discarded – undo
1593 1596
     }
1594 1597
 
1595 1598
     // parse attributes
1599
+
1600
+    /**
1601
+     * @param simple_html_dom_node $node
1602
+     * @param string[] $space
1603
+     */
1596 1604
     protected function parse_attr($node, $name, &$space)
1597 1605
     {
1598 1606
         // Per sourceforge: http://sourceforge.net/tracker/?func=detail&aid=3061408&group_id=218559&atid=1044037
@@ -1629,6 +1637,11 @@  discard block
 block discarded – undo
1629 1637
     }
1630 1638
 
1631 1639
     // link node's parent
1640
+
1641
+    /**
1642
+     * @param simple_html_dom_node $node
1643
+     * @param boolean $is_child
1644
+     */
1632 1645
     protected function link_nodes(&$node, $is_child)
1633 1646
     {
1634 1647
         $node->parent = $this->parent;
@@ -1639,6 +1652,10 @@  discard block
 block discarded – undo
1639 1652
     }
1640 1653
 
1641 1654
     // as a text node
1655
+
1656
+    /**
1657
+     * @param string $tag
1658
+     */
1642 1659
     protected function as_text_node($tag)
1643 1660
     {
1644 1661
         $node = new simple_html_dom_node($this);
@@ -1649,12 +1666,18 @@  discard block
 block discarded – undo
1649 1666
         return true;
1650 1667
     }
1651 1668
 
1669
+    /**
1670
+     * @param string $chars
1671
+     */
1652 1672
     protected function skip($chars)
1653 1673
     {
1654 1674
         $this->pos += strspn($this->doc, $chars, $this->pos);
1655 1675
         $this->char = ($this->pos<$this->size) ? $this->doc[$this->pos] : null; // next
1656 1676
     }
1657 1677
 
1678
+    /**
1679
+     * @param string $chars
1680
+     */
1658 1681
     protected function copy_skip($chars)
1659 1682
     {
1660 1683
         $pos = $this->pos;
@@ -1667,6 +1690,9 @@  discard block
 block discarded – undo
1667 1690
         return substr($this->doc, $pos, $len);
1668 1691
     }
1669 1692
 
1693
+    /**
1694
+     * @param string $chars
1695
+     */
1670 1696
     protected function copy_until($chars)
1671 1697
     {
1672 1698
         $pos = $this->pos;
@@ -1676,6 +1702,9 @@  discard block
 block discarded – undo
1676 1702
         return substr($this->doc, $pos, $len);
1677 1703
     }
1678 1704
 
1705
+    /**
1706
+     * @param string $char
1707
+     */
1679 1708
     protected function copy_until_char($char)
1680 1709
     {
1681 1710
         if ($this->char===null) {
@@ -1698,6 +1727,9 @@  discard block
 block discarded – undo
1698 1727
         return substr($this->doc, $pos_old, $pos-$pos_old);
1699 1728
     }
1700 1729
 
1730
+    /**
1731
+     * @param string $char
1732
+     */
1701 1733
     protected function copy_until_char_escape($char)
1702 1734
     {
1703 1735
         if ($this->char===null) {
@@ -1731,6 +1763,10 @@  discard block
 block discarded – undo
1731 1763
 
1732 1764
     // remove noise from html content
1733 1765
     // save the noise in the $this->noise array.
1766
+
1767
+    /**
1768
+     * @param string $pattern
1769
+     */
1734 1770
     protected function remove_noise($pattern, $remove_tag=false)
1735 1771
     {
1736 1772
         global $debug_object;
@@ -1758,6 +1794,10 @@  discard block
 block discarded – undo
1758 1794
     }
1759 1795
 
1760 1796
     // restore noise to html content
1797
+
1798
+    /**
1799
+     * @param string|null $text
1800
+     */
1761 1801
     public function restore_noise($text)
1762 1802
     {
1763 1803
         global $debug_object;
Please login to merge, or discard this patch.
code/extension/ShareThisSTE.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -167,6 +167,9 @@
 block discarded – undo
167 167
         return new ArrayList($icons);
168 168
     }
169 169
 
170
+    /**
171
+     * @param string $field
172
+     */
170 173
     protected function makeBookmarks($field)
171 174
     {
172 175
         $finalBookmarks = array();
Please login to merge, or discard this patch.
code/model/FacebookFeed_Page.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -197,6 +197,9 @@
 block discarded – undo
197 197
         }
198 198
     }
199 199
 
200
+    /**
201
+     * @param string $string
202
+     */
200 203
     public function stripUnsafe($string)
201 204
     {
202 205
         // Unsafe HTML tags that members may abuse
Please login to merge, or discard this patch.