diff options
author | Reedy <reedy@wikimedia.org> | 2014-12-24 13:49:20 +0000 |
---|---|---|
committer | Reedy <reedy@wikimedia.org> | 2014-12-24 13:49:20 +0000 |
commit | 4d9143c7f55857377da353bb114ed44c491af2a6 (patch) | |
tree | 91b1cb544f5fb53cd78aa5a1f929eba4fe188a20 /includes/utils/AutoloadGenerator.php | |
parent | a3ce362ffd701a4630b47d458747d717bdf89c79 (diff) | |
download | mediawikicore-4d9143c7f55857377da353bb114ed44c491af2a6.tar.gz mediawikicore-4d9143c7f55857377da353bb114ed44c491af2a6.zip |
Add lots of @throws
Change-Id: I09d0c13070f966fcf23d2638d8fc1328279a5995
Diffstat (limited to 'includes/utils/AutoloadGenerator.php')
-rw-r--r-- | includes/utils/AutoloadGenerator.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/utils/AutoloadGenerator.php b/includes/utils/AutoloadGenerator.php index 0d0907b33070..1f639fc4ff5f 100644 --- a/includes/utils/AutoloadGenerator.php +++ b/includes/utils/AutoloadGenerator.php @@ -63,6 +63,7 @@ class AutoloadGenerator { * * @param string $fqcn FQCN to force the location of * @param string $inputPath Full path to the file containing the class + * @throws Exception */ public function forceClassPath( $fqcn, $inputPath ) { $path = self::normalizePathSeparator( realpath( $inputPath ) ); @@ -79,6 +80,7 @@ class AutoloadGenerator { /** * @param string $inputPath Path to a php file to find classes within + * @throws Exception */ public function readFile( $inputPath ) { // NOTE: do NOT expand $inputPath using realpath(). It is perfectly |