Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
6b248b0f
Commit
6b248b0f
authored
Jan 02, 2013
by
janschoenherr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update src/Silex/Application.php
EventDispatcher addListener function has no return value
parent
e1273195
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Silex/Application.php
src/Silex/Application.php
+1
-1
No files found.
src/Silex/Application.php
View file @
6b248b0f
...
...
@@ -250,7 +250,7 @@ class Application extends \Pimple implements HttpKernelInterface, TerminableInte
*/
public
function
on
(
$eventName
,
$callback
,
$priority
=
0
)
{
return
$this
[
'dispatcher'
]
->
addListener
(
$eventName
,
$callback
,
$priority
);
$this
[
'dispatcher'
]
->
addListener
(
$eventName
,
$callback
,
$priority
);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment