Skip to content

Commit

Permalink
Update src/Illuminate/Events/Dispatcher.php
Browse files Browse the repository at this point in the history
It said colon, but it should be @ sign :)
  • Loading branch information
JesseObrien committed Jan 11, 2013
1 parent 0bb44f0 commit 6399e8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Events/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function createClassListener($listener)

return function(SymfonyEvent $event) use ($listener, $container)
{
// If the listener has a colon, we will assume it is being used to delimit
// If the listener has an @ sign, we will assume it is being used to delimit
// the class name from the handle method name. This allows for handlers
// to run multiple handler methods in a single class for convenience.
$segments = explode('@', $listener);
Expand All @@ -118,4 +118,4 @@ public function createClassListener($listener)
};
}

}
}

0 comments on commit 6399e8f

Please sign in to comment.