API: coding style cleanup, fix copyright symbol, more braces
[lhc/web/wiklou.git] / includes / api / ApiFormatPhp.php
index a2d5d1e..07e371c 100644 (file)
@@ -1,11 +1,11 @@
 <?php
 
-/*
+/**
  * Created on Oct 22, 2006
  *
  * API for MediaWiki 1.8+
  *
- * Copyright (C) 2006 Yuri Astrakhan <Firstname><Lastname>@gmail.com
+ * Copyright © 2006 Yuri Astrakhan <Firstname><Lastname>@gmail.com
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@
 
 if ( !defined( 'MEDIAWIKI' ) ) {
        // Eclipse helper - will be ignored in production
-       require_once ( 'ApiFormatBase.php' );
+       require_once( 'ApiFormatBase.php' );
 }
 
 /**
@@ -34,7 +34,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
 class ApiFormatPhp extends ApiFormatBase {
 
        public function __construct( $main, $format ) {
-               parent :: __construct( $main, $format );
+               parent::__construct( $main, $format );
        }
 
        public function getMimeType() {
@@ -46,7 +46,7 @@ class ApiFormatPhp extends ApiFormatBase {
        }
 
        public function getDescription() {
-               return 'Output data in serialized PHP format' . parent :: getDescription();
+               return 'Output data in serialized PHP format' . parent::getDescription();
        }
 
        public function getVersion() {