Skip to content
Browse files

Merge pull request #13 from dhaaker/docstrings

DocBlock typos and additions
  • Loading branch information...
2 parents 8f7e729 + df70d6f commit d0b87bfa615907be88779c52bf8eb65443dc566c @pmjones pmjones committed Mar 27, 2013
Showing with 10 additions and 4 deletions.
  1. +10 −4 src/Aura/Autoload/Loader.php
View
14 src/Aura/Autoload/Loader.php
@@ -31,7 +31,7 @@ class Loader
/**
*
- * Operatinal mode where an exception is thrown when a class file is not
+ * Operational mode where an exception is thrown when a class file is not
* found.
*
* @const
@@ -41,7 +41,7 @@ class Loader
/**
*
- * Operatinal mode where an exception is thrown when a class file is not
+ * Operational mode where an exception is thrown when a class file is not
* found, or if after loading the file the class is still not declared.
*
* @const
@@ -303,11 +303,17 @@ public function getLoaded()
*
* @param string $spec The class or interface to load.
*
- * @return void
+ * @throws Exception\AlreadyLoaded in debug mode when the class is
+ * already loaded
*
* @throws Exception\NotReadable when the file for the class or
* interface is not found.
*
+ * @throws Exception\NotDeclared in debug mode when the class is
+ * not declared
+ *
+ * @return void
+ *
*/
public function load($spec)
{
@@ -379,7 +385,7 @@ protected function isDeclared($spec)
*
* @param string $spec The class or interface to find.
*
- * @return The absolute path to the class or interface.
+ * @return string The absolute path to the class or interface.
*
*/
public function find($spec)

0 comments on commit d0b87bf

Please sign in to comment.
Something went wrong with that request. Please try again.