]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Notice.php
Added some (good known) type-hints.
[quix0rs-gnu-social.git] / classes / Notice.php
index b6f480ed5ef2ce9a8860cd0f797bf0e04e97df5f..35d88355ed11c33332fb81243a749a6ec73b557d 100644 (file)
@@ -330,7 +330,7 @@ class Notice extends Managed_DataObject
      * Record the given set of hash tags in the db for this notice.
      * Given tag strings will be normalized and checked for dupes.
      */
-    function saveKnownTags($hashtags)
+    function saveKnownTags(array $hashtags)
     {
         //turn each into their canonical tag
         //this is needed to remove dupes before saving e.g. #hash.tag = #hashtag