summaryrefslogtreecommitdiff
path: root/lib/Shorturl_api.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-23 14:49:23 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-23 14:49:23 -0500
commitb264c03d32d04d7a33d28a5830848660f4484943 (patch)
treecfd64d5629e090433c2c923090b76ddf1414ae90 /lib/Shorturl_api.php
parent7ad2f2a371eae2489330f30306cfcbb204411bae (diff)
move opening brace of class declaration to next line
Another gigantor PEAR coding standards patch. Here, I've moved the opening curly bracket on a class statement to the following line. darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
Diffstat (limited to 'lib/Shorturl_api.php')
-rw-r--r--lib/Shorturl_api.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/Shorturl_api.php b/lib/Shorturl_api.php
index f3f4f08df..fe106cb83 100644
--- a/lib/Shorturl_api.php
+++ b/lib/Shorturl_api.php
@@ -19,7 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
-class ShortUrlApi {
+class ShortUrlApi
+{
protected $service_url;
function __construct($service_url)
@@ -69,7 +70,8 @@ class ShortUrlApi {
}
}
-class LilUrl extends ShortUrlApi {
+class LilUrl extends ShortUrlApi
+{
function __construct()
{
parent::__construct('http://ur1.ca/');
@@ -88,7 +90,8 @@ class LilUrl extends ShortUrlApi {
}
-class PtitUrl extends ShortUrlApi {
+class PtitUrl extends ShortUrlApi
+{
function __construct()
{
parent::__construct('http://ptiturl.com/?creer=oui&action=Reduire&url=');
@@ -106,7 +109,8 @@ class PtitUrl extends ShortUrlApi {
}
}
-class TightUrl extends ShortUrlApi {
+class TightUrl extends ShortUrlApi
+{
function __construct()
{
parent::__construct('http://2tu.us/?save=y&url=');