Skip to content

Commit

Permalink
Merge pull request #86 from BassemN/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
tormjens authored Jul 1, 2024
2 parents 6e3e6ca + a4b0e30 commit e65b4f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/Facades/Eventy.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@
use Illuminate\Support\Facades\Facade;

/**
* @method static void addFilter(string $hook, callable $callback, int $priority = 20, int $arguments = 1)
* @method static mixed filter(string $action, $value, ...$parameters)
* @method static void addAction(string $hook, callable $callback, int $priority = 20, int $arguments = 1)
* @method static void action(string $action, ...$parameters)
*
* @see \TorMorten\Eventy\Events
*/

class Eventy extends Facade
{
/**
Expand Down
6 changes: 3 additions & 3 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Get the Eventy instance
*
* @return TorMorten\Eventy\Facades\Events
* @return \TorMorten\Eventy\Events
*/
function eventy()
{
Expand All @@ -19,7 +19,7 @@ function eventy()
* Add a filter to the Eventy instance
*
* @param string $hook
* @param callable $function
* @param callable $callback
* @param int $priority
* @param int $arguments
*
Expand Down Expand Up @@ -56,7 +56,7 @@ function apply_filters(string $action, $value, ...$parameters)
* Add an action to the Eventy instance
*
* @param string $hook
* @param callable $function
* @param callable $callback
* @param int $priority
* @param int $arguments
*
Expand Down

0 comments on commit e65b4f1

Please sign in to comment.