aboutsummaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
Diffstat (limited to 'src/auto')
-rw-r--r--src/auto/injector.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auto/injector.js b/src/auto/injector.js
index a4fa35e8..f71c7b30 100644
--- a/src/auto/injector.js
+++ b/src/auto/injector.js
@@ -168,7 +168,7 @@ function annotate(fn) {
* @description
* Invoke the method and supply the method arguments from the `$injector`.
*
- * @param {!function} fn The function to invoke. Function parameters are injected according to the
+ * @param {!Function} fn The function to invoke. Function parameters are injected according to the
* {@link guide/di $inject Annotation} rules.
* @param {Object=} self The `this` for the invoked method.
* @param {Object=} locals Optional object. If preset then any argument names are read from this
@@ -195,7 +195,7 @@ function annotate(fn) {
* operator and supplies all of the arguments to the constructor function as specified by the
* constructor annotation.
*
- * @param {function} Type Annotated constructor function.
+ * @param {Function} Type Annotated constructor function.
* @param {Object=} locals Optional object. If preset then any argument names are read from this
* object first, before the `$injector` is consulted.
* @returns {Object} new instance of `Type`.
@@ -275,7 +275,7 @@ function annotate(fn) {
* ).toEqual(['$compile', '$rootScope']);
* ```
*
- * @param {function|Array.<string|Function>} fn Function for which dependent service names need to
+ * @param {Function|Array.<string|Function>} fn Function for which dependent service names need to
* be retrieved as described above.
*
* @returns {Array.<string>} The names of the services which the function requires.