Merge "Fix WebInstaller style"
[lhc/web/wiklou.git] / tests / phpunit / includes / exception / MWExceptionTest.php
index 2dc4850..c45de36 100644 (file)
@@ -112,11 +112,11 @@ class MWExceptionTest extends MediaWikiTestCase {
         */
        public static function mockHook() {
                $args = func_get_args();
-               if( !$args[0] instanceof MWException ) {
+               if ( !$args[0] instanceof MWException ) {
                        return '$caller not instance of MWException';
                }
                unset( $args[0] );
-               if( array_key_exists( 1, $args ) && $args[1] === null ) {
+               if ( array_key_exists( 1, $args ) && $args[1] === null ) {
                        return null;
                }
                return 'YAY.' . json_encode( $args );
@@ -167,9 +167,9 @@ class MWExceptionTest extends MediaWikiTestCase {
         *
         * @covers MWExceptionHandler::jsonSerializeException
         *
-        * @param $expectedKeyType String Type expected as returned by gettype()
-        * @param $exClass String An exception class (ie: Exception, MWException)
-        * @param $key String Name of the key to validate in the serialized JSON
+        * @param string $expectedKeyType Type expected as returned by gettype()
+        * @param string $exClass An exception class (ie: Exception, MWException)
+        * @param string $key Name of the key to validate in the serialized JSON
         * @dataProvider provideJsonSerializedKeys
         */
        public function testJsonserializeexceptionKeys( $expectedKeyType, $exClass, $key ) {