1
0
Fork 0

Merge pull request #5301 from niels-nijens/patch-1

Fix typos of the word priority in the plugins documentation
pull/5300/head
Jordi Boggiano 2016-05-10 15:32:21 +02:00
commit efaa9a5fd2
1 changed files with 2 additions and 2 deletions

View File

@ -104,10 +104,10 @@ public static function getSubscribedEvents()
} }
``` ```
By default, the priority of an event handler is set to 0. The priorty can be By default, the priority of an event handler is set to 0. The priority can be
changed by attaching a tuple where the first value is the method name, as changed by attaching a tuple where the first value is the method name, as
before, and the second value is an integer representing the priority. before, and the second value is an integer representing the priority.
Higher integers represent higher priorities. Priortity 2 is called before Higher integers represent higher priorities. Priority 2 is called before
priority 1, etc. priority 1, etc.
```php ```php