X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FInit.php;h=835ffdb92c5be287b2bb4e7691e512b233a41ad2;hb=acd231fa2423d8d64f864c697b2d9d91700ff1b3;hp=a8540f2c4735df6f300d97623af4751461c48d59;hpb=01f36b721f6fb60000b625fd681993d50ebd0e40;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Init.php b/includes/Init.php index a8540f2c47..835ffdb92c 100644 --- a/includes/Init.php +++ b/includes/Init.php @@ -120,7 +120,7 @@ class MWInit { * * require( MWInit::extSetupPath( 'ParserFunctions/ParserFunctions.php' ) ); * - * @param $extRel string The path relative to the extensions directory, as defined by + * @param string $extRel The path relative to the extensions directory, as defined by * $wgExtensionsDirectory. * * @return string @@ -166,14 +166,14 @@ class MWInit { static function classExists( $class ) { try { $r = new ReflectionClass( $class ); - } catch( ReflectionException $r ) { + } catch ( ReflectionException $r ) { $r = false; } return $r !== false; } /** - * Determine wether a method exists within a class, using a method which works + * Determine whether a method exists within a class, using a method which works * under HipHop. * * Note that under HipHop when method_exists is given a string for it's class @@ -187,7 +187,7 @@ class MWInit { static function methodExists( $class, $method ) { try { $r = new ReflectionMethod( $class, $method ); - } catch( ReflectionException $r ) { + } catch ( ReflectionException $r ) { $r = false; } return $r !== false; @@ -204,7 +204,7 @@ class MWInit { static function functionExists( $function ) { try { $r = new ReflectionFunction( $function ); - } catch( ReflectionException $r ) { + } catch ( ReflectionException $r ) { $r = false; } return $r !== false;