]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialVideo/classes/Video.php
Merge branch 'master' into social-master
[quix0rs-gnu-social.git] / plugins / GNUsocialVideo / classes / Video.php
index 0311ee596ce9fcdd86fe0735445bfb38aa2ed9e9..9746948e16f93aefc7bc2fc2ef7f2024d188df0e 100644 (file)
@@ -43,7 +43,7 @@ class Video extends Managed_DataObject
     public $url;               // varchar (255)
     public $profile_id;        // int
 
-    public static function getByNotice($notice)
+    public static function getByNotice(Notice $notice)
     {
         return self::getKV('uri', $notice->uri);
     }
@@ -75,7 +75,7 @@ class Video extends Managed_DataObject
         );
     }
 
-    function saveNew($profile, $url, $options=array())
+    static function saveNew(Profile $profile, $url, array $options=array())
     {
         $vid = new Video();