Skip to content

Commit

Permalink
docs(_ide_helper): Remove unused methods
Browse files Browse the repository at this point in the history
- Remove unused methods
- Remove beforeLast method
- Remove lcfirst method
- Remove ucwords method
- Remove squish method
  • Loading branch information
guanguans committed Aug 4, 2023
1 parent 6555f76 commit 6ed9405
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 0 additions & 2 deletions _ide_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class Collection
}

/**
* @method string beforeLast($subject, $search)
* @method string lcfirst($string)
* @method string ucwords($string)
* @method string squish($string)
Expand All @@ -41,7 +40,6 @@ class Str
}

/**
* @method \Illuminate\Support\Stringable beforeLast($search)
* @method \Illuminate\Support\Stringable lcfirst()
* @method \Illuminate\Support\Stringable ucwords()
* @method \Illuminate\Support\Stringable squish()
Expand Down
14 changes: 7 additions & 7 deletions src/Facades/ExceptionNotify.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@
use Illuminate\Support\Facades\Facade;

/**
* @method static void reportIf(void $condition, \Throwable $throwable)
* @method static void report(\Throwable $throwable)
* @method static void reportIf(mixed $condition, \Throwable $throwable, array|string $channels = null)
* @method static void report(\Throwable $throwable, array|string $channels = null)
* @method static bool shouldntReport(\Throwable $throwable)
* @method static bool shouldReport(\Throwable $throwable)
* @method static void getDefaultDriver()
* @method static ExceptionNotifyManager onChannel(void ...$channels)
* @method static void getContainer()
* @method static void setContainer(\Illuminate\Contracts\Container\Container $container)
* @method static void forgetDrivers()
* @method static mixed driver(null|string $driver = null)
* @method static ExceptionNotifyManager extend(string $driver, \Closure $callback)
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager extend(string $driver, \Closure $callback)
* @method static array getDrivers()
* @method static \Illuminate\Contracts\Container\Container getContainer()
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager setContainer(\Illuminate\Contracts\Container\Container $container)
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager forgetDrivers()
* @method static void macro(string $name, callable|object $macro)
* @method static void mixin(object $mixin, bool $replace = true)
* @method static bool hasMacro(string $name)
* @method static void flushMacros()
* @method static mixed macroCall(string $method, array $parameters)
* @method static \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager|\Illuminate\Support\HigherOrderTapProxy tap(null|callable $callback = null)
*
* @see \Guanguans\LaravelExceptionNotify\ExceptionNotifyManager
*/
Expand Down

0 comments on commit 6ed9405

Please sign in to comment.