]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Notice.php
Consistent camelcasing
[quix0rs-gnu-social.git] / classes / Notice.php
index 7a3dc2bc0f4eb9dcfc160fe5b4a8b2f5b57edc24..b5dd1fd79b73603025676a0698e2098d9c418afa 100644 (file)
@@ -280,7 +280,7 @@ class Notice extends Managed_DataObject
         }
     }
 
-    public function get_object_type($canonical=false) {
+    public function getObjectType($canonical=false) {
         return $canonical
                 ? ActivityObject::canonicalType($this->object_type)
                 : $this->object_type;
@@ -2399,7 +2399,7 @@ class Notice extends Managed_DataObject
             $this->uri = sprintf('%s%s=%d:%s=%s',
                                 TagURI::mint(),
                                 'noticeId', $this->id,
-                                'objectType', $this->get_object_type(true));
+                                'objectType', $this->getObjectType(true));
             $changed = true;
         }