Skip to content

Commit

Permalink
remove unneeded docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick committed Mar 26, 2021
1 parent 21381f1 commit a116363
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Macroable.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,11 @@ trait Macroable
{
protected static array $macros = [];

/**
* Register a custom macro.
*
* @param string $name
* @param object|callable $macro
*/
public static function macro(string $name, object | callable $macro): void
{
static::$macros[$name] = $macro;
}

/**
* Mix another object into the class.
*
* @param object|string $mixin
*/
public static function mixin(object | string $mixin): void
{
$methods = (new ReflectionClass($mixin))->getMethods(
Expand Down

0 comments on commit a116363

Please sign in to comment.