From 5c167a74c14b87fcd6bd657870f45aaed80d8331 Mon Sep 17 00:00:00 2001 From: Nobuo Kihara Date: Thu, 5 Feb 2015 08:13:44 +0900 Subject: [PATCH] docs/guide/concept-events.md - minor fix [ci skip] --- docs/guide/concept-events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/concept-events.md b/docs/guide/concept-events.md index 0b915a5..0ba9ac3 100644 --- a/docs/guide/concept-events.md +++ b/docs/guide/concept-events.md @@ -18,7 +18,7 @@ when the event it is attached to is triggered. You can use any of the following - a global PHP function specified as a string (without parentheses), e.g., `'trim'`; - an object method specified as an array of an object and a method name as a string (without parentheses), e.g., `[$object, 'methodName']`; -- a static class method specified as an array of a class name and a method name as a string (without parentheses), e.g., `[$class, 'methodName']`; +- a static class method specified as an array of a class name and a method name as a string (without parentheses), e.g., `['ClassName', 'methodName']`; - an anonymous function, e.g., `function ($event) { ... }`. The signature of an event handler is: