Skip to content

Commit

Permalink
snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Apr 5, 2017
1 parent 7bce7c6 commit 61f2e7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,15 +376,15 @@ function dispatch($job)
}
}

if (! function_exists('dispatchNow')) {
if (! function_exists('dispatch_now')) {
/**
* Dispatch a command to its appropriate handler in the current process.
*
* @param mixed $job
* @param mixed $handler
* @return mixed
*/
function dispatchNow($job, $handler = null)
function dispatch_now($job, $handler = null)
{
return app(Dispatcher::class)->dispatchNow($job, $handler);
}
Expand Down

1 comment on commit 61f2e7b

@patriziotomato
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

Please sign in to comment.